s390: debug data for ifcc/ccc.
Subsystems (2)
PATCH 5/12 s390: debug data for ifcc/ccc.
[patch 5/12] s390: debug data for ifcc/ccc.
From: Cornelia Huck <[email protected]>
Fix debug data in case of an interface-control or channel-control
check: don't log the not yet accumulated interrupt-response-block, but the one we just received.
Signed-off-by Martin Schwidefsky <[email protected]>
diffstat:
drivers/s390/cio/device_status.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-)
drivers/s390/cio/device_status.c +2 -3
@@ -39,15 +39,14 @@ ccw_device_msg_control_check(struct ccw_" ... device %04X on subchannel %04X, dev_stat " ": %02X sch_stat : %02X\n" , cdev->private->devno, cdev->private->irq, - cdev->private->irb.scsw.dstat, - cdev->private->irb.scsw.cstat); + irb->scsw.dstat, irb->scsw.cstat);if (irb->scsw.cc !=3 ) {char dbf_text[15 ];sprintf (dbf_text,"chk%x" , cdev->private->irq);CIO_TRACE_EVENT (0 , dbf_text); -CIO_HEX_EVENT (0 , &cdev->private->irb,sizeof (struct irb )); +CIO_HEX_EVENT (0 , irb,sizeof (struct irb )); } }