From: Chad Dupuis Date: Mon, 27 Feb 2012 07:03:56 +0000 (+0530) Subject: qla2xxx: Fix byte swapping in IPE print statement. X-Git-Tag: v2.6.39-400.9.0~423^2~116 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ac43cf08de711f8cfe6655f0879c6f60f54eed49;p=users%2Fjedix%2Flinux-maple.git qla2xxx: Fix byte swapping in IPE print statement. Signed-off-by: Saurav Kashyap --- diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c index 27487d120fe58..3e0def2e640db 100644 --- a/drivers/scsi/qla2xxx/qla_nx.c +++ b/drivers/scsi/qla2xxx/qla_nx.c @@ -3365,7 +3365,7 @@ void qla82xx_watchdog(scsi_qla_host_t *vha) QLA82XX_CRB_PEG_NET_3 + 0x3c), qla82xx_rd_32(ha, QLA82XX_CRB_PEG_NET_4 + 0x3c)); - if(LSW(MSB(halt_status)) == 0x67) + if(MSB(LSW(halt_status)) == 0x67) ql_log(ql_log_warn, vha, 0xb052, "Firmware aborted with " "error code 0x00006700. Device is "