]> git.baikalelectronics.ru Git - kernel.git/commit
s390/pci: set error state for unavailable functions
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 12 Dec 2013 16:53:11 +0000 (17:53 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:55 +0000 (14:37 +0100)
commit33a9c9ae63280745156e8a1abf8e49ce05637c31
treea663713f196c4d5fdb9f41aa680e9b554a8e6f84
parent3cdca090b2e5e53b841d3f734434721288c7ef7f
s390/pci: set error state for unavailable functions

If we receive a notification that a pci function became unavailable we clean
up by removing the pci device. This can confuse the driver since the function
is already unaccessible. Improve this situation by setting an appropriate
error_state.

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