dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/pnp/pnpacpi
Yinghai Lu 89e96ada57 PNPACPI: Fix device ref leaking in acpi_pnp_match
During testing pci root bus removal, found some root bus bridge is not freed.
If booting with pnpacpi=off, those hostbridge could be freed without problem.
It turns out that some devices reference are not released during acpi_pnp_match.
that match should not hold one device ref during every calling.
Add pu_device calling before returning.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Cc: stable@vger.kernel.org
Signed-off-by: Len Brown <len.brown@intel.com>
2012-03-30 03:38:40 -04:00
..
Kconfig ACPI: always enable CONFIG_PNPACPI on CONFIG_ACPI kernels 2007-02-15 22:38:04 -05:00
Makefile PNP: Compile all pnp built-in stuff in one module namespace 2010-10-27 02:23:44 -04:00
core.c PNPACPI: Fix device ref leaking in acpi_pnp_match 2012-03-30 03:38:40 -04:00
pnpacpi.h PNPACPI: move _CRS/_PRS warnings closer to the action 2008-04-29 03:22:30 -04:00
rsparser.c PNPACPI: Simplify disabled resource registration 2011-11-06 20:13:55 -05:00