Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195691
b: refs/heads/master
c: 0b9dae6
h: refs/heads/master
i:
  195689: 80aff36
  195687: e2becc7
v: v3
  • Loading branch information
Andrew Vasquez authored and James Bottomley committed May 16, 2010
1 parent 680848e commit d81f3c5
Show file tree
Hide file tree
Showing 2 changed files with 6 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: b1de6ab79456724d316d5dfa4bbb28f166cda99e
refs/heads/master: 0b9dae6aeb0e5397b426e135509046b323740fd5
8 changes: 5 additions & 3 deletions trunk/drivers/scsi/qla2xxx/qla_attr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1198,9 +1198,11 @@ qla24xx_84xx_fw_version_show(struct device *dev,
scsi_qla_host_t *vha = shost_priv(class_to_shost(dev));
struct qla_hw_data *ha = vha->hw;

if (IS_QLA84XX(ha) && ha->cs84xx)
if (ha->cs84xx->op_fw_version == 0)
rval = qla84xx_verify_chip(vha, status);
if (!IS_QLA84XX(ha))
return snprintf(buf, PAGE_SIZE, "\n");

if (ha->cs84xx && ha->cs84xx->op_fw_version == 0)
rval = qla84xx_verify_chip(vha, status);

if ((rval == QLA_SUCCESS) && (status[0] == 0))
return snprintf(buf, PAGE_SIZE, "%u\n",
Expand Down

0 comments on commit d81f3c5

Please sign in to comment.