mirror of
https://github.com/adulau/aha.git
synced 2025-01-01 13:46:24 +00:00
[SCSI] qla2xxx: Correct endianess issue while interrogating MS status.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
87b2380fcc
commit
cdfc82ade6
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
} else {
|
||||
if (IS_QLA24XX(ha) || IS_QLA54XX(ha))
|
||||
comp_status =
|
||||
((struct ct_entry_24xx *)ms_pkt)->comp_status;
|
||||
comp_status = le16_to_cpu(
|
||||
((struct ct_entry_24xx *)ms_pkt)->comp_status);
|
||||
else
|
||||
comp_status = le16_to_cpu(ms_pkt->status);
|
||||
switch (comp_status) {
|
||||
|
|
Loading…
Reference in a new issue