Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189491
b: refs/heads/master
c: d6136f3
h: refs/heads/master
i:
  189489: f4d94a9
  189487: b61356a
v: v3
  • Loading branch information
Santosh Vernekar authored and James Bottomley committed Mar 27, 2010
1 parent 15c7e74 commit e5eb8ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 6377a7ae1ab82859edccdbc8eaea63782efb134d
refs/heads/master: d6136f3f749cf68c3295c883cea612afd9919100
6 changes: 5 additions & 1 deletion trunk/drivers/scsi/qla2xxx/qla_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,11 @@ qla2x00_fw_state_show(struct device *dev, struct device_attribute *attr,
int rval = QLA_FUNCTION_FAILED;
uint16_t state[5];

if (!vha->hw->flags.eeh_busy)
if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) ||
test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags))
DEBUG2_3_11(printk("%s(%ld): isp reset in progress.\n",
__func__, vha->host_no));
else if (!vha->hw->flags.eeh_busy)
rval = qla2x00_get_firmware_state(vha, state);
if (rval != QLA_SUCCESS)
memset(state, -1, sizeof(state));
Expand Down

0 comments on commit e5eb8ed

Please sign in to comment.