]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qdio: fix output of DSCI value in debug file
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 28 Mar 2019 12:48:44 +0000 (13:48 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 10 Apr 2019 15:47:23 +0000 (17:47 +0200)
commit75634fff49d1f490f1beb05b4f8f499a217d189b
treea5097f6782c7d495a077f8ef1084f581450dd789
parentd8025edc88e326aa2f1747b5c6a9989db243f7c9
s390/qdio: fix output of DSCI value in debug file

The DSCI is a 1-byte field, placed at the start of an u32. So when
printing it to a queue's debug state, limit the output to the part
that's actually occupied by the DSCI.
When the DSCI is set this gives us the expected output of '1', rather
than the current (obscure) value of '16777216'.

Suggested-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_debug.c