]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8792dcf2a3faa366109ddcadf48cb2f9cb2755ec
treef9d59de2e80b125f913b7014f36146def1e96818
parent4b3dd3f6c7b27e652b8dd188ea60f63bf956d8f6
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