Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53684
b: refs/heads/master
c: cc9bd5d
h: refs/heads/master
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed Apr 1, 2007
1 parent ed00cdd commit ef330ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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: 185eb31cc242f415800a1a06dca522d27c269279
refs/heads/master: cc9bd5d4256ecc1b6e0448febb4be29db1a91256
9 changes: 6 additions & 3 deletions trunk/drivers/scsi/ipr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4473,6 +4473,9 @@ static void ipr_dump_ioasa(struct ipr_ioa_cfg *ioa_cfg,
if (ioasa->ilid != 0)
return;

if (!ipr_is_gscsi(res))
return;

if (ipr_error_table[error_index].log_ioasa == 0)
return;
}
Expand Down Expand Up @@ -4632,11 +4635,11 @@ static void ipr_erp_start(struct ipr_ioa_cfg *ioa_cfg,
return;
}

if (ipr_is_gscsi(res))
ipr_dump_ioasa(ioa_cfg, ipr_cmd, res);
else
if (!ipr_is_gscsi(res))
ipr_gen_sense(ipr_cmd);

ipr_dump_ioasa(ioa_cfg, ipr_cmd, res);

switch (ioasc & IPR_IOASC_IOASC_MASK) {
case IPR_IOASC_ABORTED_CMD_TERM_BY_HOST:
if (ipr_is_naca_model(res))
Expand Down

0 comments on commit ef330ef

Please sign in to comment.