Skip to content

Commit

Permalink
[PATCH] s390: debug data for ifcc/ccc
Browse files Browse the repository at this point in the history
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 <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Cornelia Huck authored and Linus Torvalds committed Jul 27, 2005
1 parent 99b2d8d commit 1d3ac7a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/s390/cio/device_status.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@ ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb)
" ... 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));
}
}

Expand Down

0 comments on commit 1d3ac7a

Please sign in to comment.