mpt2sas: Fix hex/decimal typo in _base_sas_log_info()
PATCH 1/1 mpt2sas: Fix hex/decimal typo in _base_sas_log_info()
The log_info constant is supposed to be IOP_LOGINFO_CODE_TASK_TERMINATED (see drivers/message/fusion/lsi/mpi_log_sas.h) rather than the non-sensical 0x1CA86D0.
Signed-off-by Chris Dunlop <[email protected]>
--- drivers/scsi/mpt2sas/mpt2sas_base.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/scsi/mpt2sas/mpt2sas_base.c +1 -1
@@ -657,7 +657,7 @@ _base_sas_log_info(struct MPT2SAS_ADAPTER *ioc , u32 log_info)return ;/* eat the loginfos associated with task aborts */ -if (ioc->ignore_loginfos && (log_info ==30050000 || log_info == +if (ioc->ignore_loginfos && (log_info ==0x30050000 || log_info ==0x31140000 || log_info ==0x31130000 ))return ;
Signature · 1 line
1.7.0.4
Quoted 3 lines · Chris Dunlop
The
log_infoconstant is supposed to beIOP_LOGINFO_CODE_TASK_TERMINATED(seedrivers/message/fusion/lsi/mpi_log_sas.h) rather than the non-sensical0x1CA86D0.
Oops, I see Sathisha Nanjappa has already submitted this fix:
http://article.gmane.org/gmane.linux.scsi/73446
Quoted 21 lines
Signed-off-by Chris Dunlop <[email protected]>--- drivers/scsi/mpt2sas/mpt2sas_base.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/scsi/mpt2sas/mpt2sas_base.c +1
-1@@ -657,7 +657,7 @@ _base_sas_log_info(struct MPT2SAS_ADAPTER *ioc , u32 log_info)return ;/* eat the loginfos associated with task aborts */ -if (ioc->ignore_loginfos && (log_info ==30050000 || log_info == +if (ioc->ignore_loginfos && (log_info ==0x30050000 || log_info ==0x31140000 || log_info ==0x31130000 ))return ;Signature · 1 line
1.7.0.4