[SCSI] mpt2sas: remove extraneous sas_log_info messages
authorSathisha Nanjappa <sathisha.nanjappa@hp.com>
Tue, 13 Mar 2012 18:59:28 +0000 (11:59 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 28 Mar 2012 08:48:25 +0000 (09:48 +0100)
This fix ensures that the IOP_LOGINFO_CODE_TASK_TERMINATED
messages do not clutter the sas_log_info messages.

Bugzilla 42142 - mpt2sas: Number specified in wrong base
https://bugzilla.kernel.org/show_bug.cgi?id=42142

Signed-off-by: Sathisha Nanjappa <sathisha.nanjappa@hp.com>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_base.c

index 82fa6ce481f0c131855667fbfda247d620cb2bfa..921c818a92268dd4f9e837baea8899bc1f37b052 100644 (file)
@@ -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;