[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)
commitaf525592187951a595c73de11b48969a13b5d5a3
tree0c0c6876b5278b4390fddf1d49fd9d53dc4ff1b8
parent4dbefe6459555d6fb9d08743615fbaa53894beb2
[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