Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 359470
b: refs/heads/master
c: e19dd66
h: refs/heads/master
v: v3
  • Loading branch information
Nilesh Javali authored and James Bottomley committed Jan 30, 2013
1 parent 7fd35e2 commit fc8dab0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e951aca1beaf8493536cedfce4152531f7c4b59b
refs/heads/master: e19dd66f105c54868e722f6b0a4f2edfc83f1ef9
4 changes: 2 additions & 2 deletions trunk/drivers/scsi/qla4xxx/ql4_nx.c
Original file line number Diff line number Diff line change
Expand Up @@ -3427,11 +3427,11 @@ int qla4_8xxx_get_sys_info(struct scsi_qla_host *ha)
}

/* Make sure we receive the minimum required data to cache internally */
if (mbox_sts[4] < offsetof(struct mbx_sys_info, reserved)) {
if ((is_qla8032(ha) ? mbox_sts[3] : mbox_sts[4]) <
offsetof(struct mbx_sys_info, reserved)) {
DEBUG2(printk("scsi%ld: %s: GET_SYS_INFO data receive"
" error (%x)\n", ha->host_no, __func__, mbox_sts[4]));
goto exit_validate_mac82;

}

/* Save M.A.C. address & serial_number */
Expand Down

0 comments on commit fc8dab0

Please sign in to comment.