Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32739
b: refs/heads/master
c: 4e73ea7
h: refs/heads/master
i:
  32737: 821573f
  32735: 061ea91
v: v3
  • Loading branch information
Luben Tuikov authored and James Bottomley committed Jul 9, 2006
1 parent 251e855 commit ad3a102
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 035bff20bff2b6779ed3ad0a24a51a1a96828bc8
refs/heads/master: 4e73ea7b02a8d2759b20ab52f13f40d5f5421044
7 changes: 3 additions & 4 deletions trunk/drivers/scsi/st.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ static int st_chk_result(struct scsi_tape *STp, struct st_request * SRpnt)
SRpnt->cmd[0], SRpnt->cmd[1], SRpnt->cmd[2],
SRpnt->cmd[3], SRpnt->cmd[4], SRpnt->cmd[5]);
if (cmdstatp->have_sense)
__scsi_print_sense("st", SRpnt->sense, SCSI_SENSE_BUFFERSIZE);
__scsi_print_sense(name, SRpnt->sense, SCSI_SENSE_BUFFERSIZE);
} ) /* end DEB */
if (!debugging) { /* Abnormal conditions for tape */
if (!cmdstatp->have_sense)
Expand All @@ -384,9 +384,8 @@ static int st_chk_result(struct scsi_tape *STp, struct st_request * SRpnt)
scode != VOLUME_OVERFLOW &&
SRpnt->cmd[0] != MODE_SENSE &&
SRpnt->cmd[0] != TEST_UNIT_READY) {
printk(KERN_WARNING "%s: Error with sense data: ", name);
__scsi_print_sense("st", SRpnt->sense,
SCSI_SENSE_BUFFERSIZE);

__scsi_print_sense(name, SRpnt->sense, SCSI_SENSE_BUFFERSIZE);
}
}

Expand Down

0 comments on commit ad3a102

Please sign in to comment.