forked from Minki/linux
90d8dabf74
Move pci_dev_put outside the loops in which it occurs. Within the loop, pci_dev_put is done implicitly by pci_get_device. The problem was detected using the following semantic patch, and corrected by hand. @@ expression dev; expression E; @@ - pci_dev_put(dev) ... when != dev = E - pci_get_device(...,dev) Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
hdpuftrs | ||
ibmasm | ||
asus-laptop.c | ||
atmel-ssc.c | ||
eeprom_93cx6.c | ||
fujitsu-laptop.c | ||
ioc4.c | ||
Kconfig | ||
lkdtm.c | ||
Makefile | ||
msi-laptop.c | ||
phantom.c | ||
sony-laptop.c | ||
thinkpad_acpi.c | ||
thinkpad_acpi.h | ||
tifm_7xx1.c | ||
tifm_core.c |