Commit 1d3ac7aa authored by Cornelia Huck's avatar Cornelia Huck Committed by Linus Torvalds

[PATCH] s390: debug data for ifcc/ccc

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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 99b2d8df
...@@ -39,15 +39,14 @@ ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) ...@@ -39,15 +39,14 @@ ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb)
" ... device %04X on subchannel %04X, dev_stat " " ... device %04X on subchannel %04X, dev_stat "
": %02X sch_stat : %02X\n", ": %02X sch_stat : %02X\n",
cdev->private->devno, cdev->private->irq, cdev->private->devno, cdev->private->irq,
cdev->private->irb.scsw.dstat, irb->scsw.dstat, irb->scsw.cstat);
cdev->private->irb.scsw.cstat);
if (irb->scsw.cc != 3) { if (irb->scsw.cc != 3) {
char dbf_text[15]; char dbf_text[15];
sprintf(dbf_text, "chk%x", cdev->private->irq); sprintf(dbf_text, "chk%x", cdev->private->irq);
CIO_TRACE_EVENT(0, dbf_text); CIO_TRACE_EVENT(0, dbf_text);
CIO_HEX_EVENT(0, &cdev->private->irb, sizeof (struct irb)); CIO_HEX_EVENT(0, irb, sizeof (struct irb));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment