mirror of https://gitee.com/openkylin/linux.git
b6328a07bd
The acpi_pnp_match() function is used for finding the ACPI device object that should be associated with the given PNP device. Unfortunately, the check used by that function is not strict enough and may cause success to be returned for a wrong ACPI device object. To fix that, use the observation that the pointer to the ACPI device object in question is already stored in the data field in struct pnp_dev, so acpi_pnp_match() can simply use that field to do its job. This problem was uncovered in 3.14 by commit |
||
---|---|---|
.. | ||
isapnp | ||
pnpacpi | ||
pnpbios | ||
Kconfig | ||
Makefile | ||
base.h | ||
card.c | ||
core.c | ||
driver.c | ||
interface.c | ||
manager.c | ||
quirks.c | ||
resource.c | ||
support.c | ||
system.c |