android_kernel_oneplus_msm8998/drivers/s390
Sebastian Ott 40b64c59f3 s390/cio: fix return code after missing interrupt
[ Upstream commit 770b55c995d171f026a9efb85e71e3b1ea47b93d ]

When a timeout occurs for users of ccw_device_start_timeout
we will stop the IO and call the drivers int handler with
the irb pointer set to ERR_PTR(-ETIMEDOUT). Sometimes
however we'd set the irb pointer to ERR_PTR(-EIO) which is
not intended. Just set the correct value in all codepaths.

Reported-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-30 07:49:00 +02:00
..
block s390/dasd: fix hanging safe offline 2018-04-13 19:50:21 +02:00
char s390: introduce execute-trampolines for branches 2018-04-29 07:50:03 +02:00
cio s390/cio: fix return code after missing interrupt 2018-05-30 07:49:00 +02:00
crypto s390/zcrypt: Introduce CEX6 toleration 2017-03-30 09:35:20 +02:00
net s390/qeth: on channel error, reject further cmd requests 2018-03-31 18:12:34 +02:00
scsi scsi: zfcp: fix infinite iteration on ERP ready list 2018-05-26 08:49:00 +02:00
virtio virtio/s390: handle error values in irb 2015-12-17 10:37:33 +02:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00