s390/qdio: fix truncated debug output of hex values
authorJan Glauber <jang@linux.vnet.ibm.com>
Tue, 11 Sep 2012 11:42:06 +0000 (13:42 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:18 +0000 (15:45 +0200)
commitd3feb481083636296f25daf36dbf44493fa7e1f2
tree61df6077aba121ad8a73bd8d8dfef054f5fb1821
parentc0162b07b34ce8b33548f4b2658ec3133f960e71
s390/qdio: fix truncated debug output of hex values

Calling debug_event the s390 debug feature only logs up to buf_size
bytes of the debug view. If debug_event is called with more bytes
than buf_size the additional data is ignored and not logged in the
debug view.

Use multiple calls to debug_event if the length exceeds buf_size.

Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_debug.h