diff options
author | 2015-12-03 17:24:00 +0100 | |
---|---|---|
committer | 2015-12-17 10:37:33 +0200 | |
commit | 74a599f09bec7419b2490039f0fb33bc8581ef7c (patch) | |
tree | 79139da3ddbac8589a09ac124440d2dfeb6f1f31 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Linux 4.4-rc5 (diff) | |
download | wireguard-linux-74a599f09bec7419b2490039f0fb33bc8581ef7c.tar.xz wireguard-linux-74a599f09bec7419b2490039f0fb33bc8581ef7c.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions