]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit962aef036a4d637d03d23dfd547d70ca450b7c54
tree61df6077aba121ad8a73bd8d8dfef054f5fb1821
parent377c854de03285927bcda1428b351a102640b82d
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