]> git.karo-electronics.de Git - karo-tx-linux.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>
Thu, 17 Apr 2014 10:46:55 +0000 (12:46 +0200)
commit877d3dac9ba9e00c3496ab1c2b69d1544de828ca
tree86c27eac87607b14638259f64643c1c684b8c1e1
parent42d874372a3f8e5d52dd5de8de6aad3ef3a83174
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