]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pci: improve state check when processing hotplug events
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Wed, 16 Apr 2014 14:09:23 +0000 (16:09 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 20 May 2014 06:58:48 +0000 (08:58 +0200)
commit0a2dad7ec917e13f5407233612ad7e9f311d1e52
tree877c6732ca6ee8563a2fe032d21a2a0e0dd41337
parenta60dd8f14c0bb70a3147a1925688d0de7e7658da
s390/pci: improve state check when processing hotplug events

Processing pci hotplug events can fail when a pci function is in an
unexpected state. This can happen when we already processed the
change associated with the hotplug event (especially when receiving
hotplug events during early boot).
Just ignore the event in this case.

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