https://bugzilla.kernel.org/show_bug.cgi?id=15100





--- Comment #71 from Rafael J. Wysocki <[email protected]>  2011-01-10 18:51:31 ---
BTW, the scenario is:

  - boot docked (dock contains a UART)
  - make a PNP serial device
  - suspend to RAM
  - undock
  - dock.c notices UART removal
  - remove the ACPI companion device of the PNP serial device
  - resume the PNP serial device
  - oops (unless we check that ACPI companion is gone, which is what
    DEVICE_ACPI_HANDLE) does.  [Yes, we should remove the PNP device
    at this point, but it isn't safe with the current code in pnpacpi.]

DEVICE_ACPI_HANDLE() should be used in there anyway, because it returns the
_right_ cached ACPI handle instead of the "copy" from pnp_dev->data->handle
which is completely redundant.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to