Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216755
b: refs/heads/master
c: ed3640b
h: refs/heads/master
i:
  216753: 0200ec1
  216751: a5eda0e
v: v3
  • Loading branch information
Stefan Haberland authored and Martin Schwidefsky committed Oct 25, 2010
1 parent 219e649 commit 935fd73
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8481c2afeed297426f67ce3fd4ad7eea6b7ddf5
refs/heads/master: ed3640b285d831065eb0507cdca7d125f6f78e8d
16 changes: 10 additions & 6 deletions trunk/drivers/s390/block/dasd_eckd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3093,16 +3093,20 @@ dasd_eckd_dump_sense_dbf(struct dasd_device *device, struct irb *irb,
char *reason)
{
u64 *sense;
u32 stat;

sense = (u64 *) dasd_get_sense(irb);
stat = scsw_cstat(&irb->scsw);
stat <<= 8;
stat |= scsw_dstat(&irb->scsw);
stat <<= 8;
stat |= scsw_cc(&irb->scsw);

if (sense) {
DBF_DEV_EVENT(DBF_EMERG, device,
"%s: %s %02x%02x%02x %016llx %016llx %016llx "
"%016llx", reason,
scsw_is_tm(&irb->scsw) ? "t" : "c",
scsw_cc(&irb->scsw), scsw_cstat(&irb->scsw),
scsw_dstat(&irb->scsw), sense[0], sense[1],
sense[2], sense[3]);
"%s: %s %06x %016llx %016llx %016llx %016llx",
reason, scsw_is_tm(&irb->scsw) ? "t" : "c", stat,
sense[0], sense[1], sense[2], sense[3]);
} else {
DBF_DEV_EVENT(DBF_EMERG, device, "%s",
"SORRY - NO VALID SENSE AVAILABLE\n");
Expand Down

0 comments on commit 935fd73

Please sign in to comment.