Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 34989
b: refs/heads/master
c: 117d2ce
h: refs/heads/master
i:
  34987: a785a35
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed Aug 6, 2006
1 parent f8c0558 commit f9f1e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: 5b7304fbfb74bfca6f7d5a88b28197e3f7f2743b
refs/heads/master: 117d2ce1cea25fc94302ff418ccef644cd3e59af
3 changes: 1 addition & 2 deletions trunk/drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4127,8 +4127,7 @@ static int ipr_get_autosense(struct ipr_cmnd *ipr_cmd)
{
struct ipr_ioasa *ioasa = &ipr_cmd->ioasa;

if ((be32_to_cpu(ioasa->ioasc_specific) &
(IPR_ADDITIONAL_STATUS_FMT | IPR_AUTOSENSE_VALID)) == 0)
if ((be32_to_cpu(ioasa->ioasc_specific) & IPR_AUTOSENSE_VALID) == 0)
return 0;

memcpy(ipr_cmd->scsi_cmd->sense_buffer, ioasa->auto_sense.data,
Expand Down

0 comments on commit f9f1e68

Please sign in to comment.