]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] EEH: balance pcidev_get/put calls
authorLinas Vepstas <linas@austin.ibm.com>
Fri, 15 Sep 2006 23:55:34 +0000 (18:55 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 21 Sep 2006 12:59:08 +0000 (22:59 +1000)
commit7b1aaca830600fa1955095fe2319d1ecf0f0c829
tree0c0c6876b5278b4390fddf1d49fd9d53dc4ff1b8
parent0969d1e3fce3e0cb99c4615d0bda90498aa6f911
[POWERPC] EEH: balance pcidev_get/put calls

This corrects a pci_dev get/put imbalance that can occur only in
highly unlikely situations (kmalloc failures, pci devices with
overlapping resource addresses).  No actual failures seen, this was
spotted during code review.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/eeh_cache.c