]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pci: fix removal of nonexistent pci bus
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 12 Dec 2013 16:50:53 +0000 (17:50 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:54 +0000 (14:37 +0100)
commit33504004f3ddc83dff61cd18f1d53a712cf25257
tree0b6046705766ce3ed9da2d14a561da9f93cbfb20
parent11aeee056d9ffc181a595061bc65df950b464649
s390/pci: fix removal of nonexistent pci bus

If we remove a pci bus after receiving a hotplug notification we need
to check if the bus is actually present (creation of the pci bus
during an earlier notification may have been failed).

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_event.c