]> err.no Git - linux-2.6/commit
[PATCH] powerpc/pseries: bugfix: balance calls to pci_device_put
authorLinas Vepstas <linas@austin.ibm.com>
Thu, 6 Apr 2006 20:41:41 +0000 (15:41 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 13 Apr 2006 16:34:15 +0000 (09:34 -0700)
commitb055a9e10fd05c7fdd87904a50c1f413aea10ec4
treebc9e515f6280ff0c4cf40b811c43266b363cb866
parent6f806ceed53776ae5e04c8b334dc9daa0932ad1e
[PATCH] powerpc/pseries: bugfix: balance calls to pci_device_put

Repeated calls to eeh_remove_device() can result in multiple
(and thus unbalanced) calls to pci_dev_put(). Make sure the
pci_device_put() is called only once (since there was only
one call to the matching pci_device_get()).

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