linux_old1/drivers/s390
Martin Schwidefsky f58fe33600 s390/zcrypt: use explicit return code for flushed requests
If a AP device is removed while messages are still pending, the requests
are cancelled by calling the message receive function with an error pointer
for the reply. The message type receive handler recognize this and create
a fake hardware error TYPE82_RSP_CODE / REP82_ERROR_MACHINE_FAILURE.
The message with the hardware error then causes a printk and a return
code of -EAGAIN.

Replace the intricate scheme with an explicit return code for this sitation
and avoid the error message.

Reviewd-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2015-10-14 14:32:22 +02:00
..
block s390/diag: add a statistic for diagnose calls 2015-10-14 14:32:06 +02:00
char s390/sclp: avoid merged message output 2015-10-14 14:32:10 +02:00
cio s390/cio: introduce pathmask_to_pos 2015-10-14 14:32:04 +02:00
crypto s390/zcrypt: use explicit return code for flushed requests 2015-10-14 14:32:22 +02:00
net s390: remove unneeded variables 2015-08-07 09:57:01 +02:00
scsi Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-09-03 15:46:07 -07:00
virtio s390/diag: add a statistic for diagnose calls 2015-10-14 14:32:06 +02:00
Makefile virtio/s390: rename drivers/s390/kvm -> drivers/s390/virtio 2015-07-07 14:27:06 +03:00