Commit cdfc82ad authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley

[SCSI] qla2xxx: Correct endianess issue while interrogating MS status.

Signed-off-by: default avatarAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 87b2380f
...@@ -127,8 +127,8 @@ qla2x00_chk_ms_status(scsi_qla_host_t *ha, ms_iocb_entry_t *ms_pkt, ...@@ -127,8 +127,8 @@ qla2x00_chk_ms_status(scsi_qla_host_t *ha, ms_iocb_entry_t *ms_pkt,
ha->host_no, routine, ms_pkt->entry_status)); ha->host_no, routine, ms_pkt->entry_status));
} else { } else {
if (IS_QLA24XX(ha) || IS_QLA54XX(ha)) if (IS_QLA24XX(ha) || IS_QLA54XX(ha))
comp_status = comp_status = le16_to_cpu(
((struct ct_entry_24xx *)ms_pkt)->comp_status; ((struct ct_entry_24xx *)ms_pkt)->comp_status);
else else
comp_status = le16_to_cpu(ms_pkt->status); comp_status = le16_to_cpu(ms_pkt->status);
switch (comp_status) { switch (comp_status) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment