diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2020-09-16 11:52:35 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-03-22 13:36:04 +0300 |
commit | dee60c0dbc837ddca8abcb868e53ca3e9d11ea4c (patch) | |
tree | 6a868d9d075d7ac36a300593e7e8f3fc63019a58 /drivers/s390 | |
parent | a9045c2210448473a321a8bf266541e5644aaae2 (diff) | |
download | linux-dee60c0dbc837ddca8abcb868e53ca3e9d11ea4c.tar.xz |
s390/pci: add zpci_event_hard_deconfigured()
Extract the handling of PEC 0x0304 into a function and make sure we only
attempt to disable the function if it is enabled. Also check for errors
returned by zpci_disable_device() and leave the function alone if there
are any.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions