]> 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)
commit3cdca090b2e5e53b841d3f734434721288c7ef7f
tree0b6046705766ce3ed9da2d14a561da9f93cbfb20
parent56b7d2ef03c06db0c757c42a7614b7f99dc7903c
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