diff options
author | Cornelia Huck | 2015-12-03 17:24:00 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2015-12-17 10:37:33 +0200 |
commit | 74a599f09bec7419b2490039f0fb33bc8581ef7c (patch) | |
tree | 79139da3ddbac8589a09ac124440d2dfeb6f1f31 /drivers/scsi/a2091.c | |
parent | 9f9499ae8e6415cefc4fe0a96ad0e27864353c89 (diff) |
virtio/s390: handle error values in irb
The common I/O layer may pass an error value as the irb in the device's
interrupt handler (for classic channel I/O). This won't happen in
current virtio-ccw implementations, but it's better to be safe than
sorry.
Let's just return the error conveyed by the irb and clear any possible
pending I/O indications.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Guenther Hutzl <hutzl@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/scsi/a2091.c')
0 files changed, 0 insertions, 0 deletions