s390/qdio: rework q->qdio_error indication
authorJulian Wiedmann <jwi@linux.ibm.com>
Sat, 30 Jan 2021 11:44:17 +0000 (12:44 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Sat, 13 Feb 2021 16:17:55 +0000 (17:17 +0100)
commit540936df443859244e1a76331524600c35b225d0
treef9d59de2e80b125f913b7014f36146def1e96818
parent3bf526e036c9be08e8d3eb7b48c3b27d3d082332
s390/qdio: rework q->qdio_error indication

When inspecting a queue, any error is currently returned back through
the queue's qdio_error field. Turn this into a proper variable that gets
passed through the call chain, so that the lifetime is clear and the
error state can be accessed along the way.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/qdio.h
drivers/s390/cio/qdio_main.c