mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sathisha Nanjappa <sathisha.nanjappa@hp.com>
To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Sathisha Nanjappa <sathisha.nanjappa@hp.com>
Subject: [PATCH] mpt2sas: Corrected the constant in comparison to a hexadecimal.
Date: Tue, 13 Mar 2012 11:59:28 -0700	[thread overview]
Message-ID: <1331665168-22561-2-git-send-email-sathisha.nanjappa@hp.com> (raw)
In-Reply-To: <1331665168-22561-1-git-send-email-sathisha.nanjappa@hp.com>

    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>
---
 drivers/scsi/mpt2sas/mpt2sas_base.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.c b/drivers/scsi/mpt2sas/mpt2sas_base.c
index 0b2c955..f9a1244 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_base.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_base.c
@@ -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;
 
-- 
1.7.7.6


  reply	other threads:[~2012-03-13 18:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 18:59 [PATCH] bug fix for 42142 Sathisha Nanjappa
2012-03-13 18:59 ` Sathisha Nanjappa [this message]
2012-03-14  4:21   ` [PATCH] mpt2sas: Corrected the constant in comparison to a hexadecimal Nandigama, Nagalakshmi
2012-03-14  8:33   ` James Bottomley
2012-03-14 23:36     ` Nanjappa, Sathisha (MCXS, Cupertino)
2012-03-15  8:56       ` James Bottomley
2012-03-15 17:54         ` Nanjappa, Sathisha (MCXS, Cupertino)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1331665168-22561-2-git-send-email-sathisha.nanjappa@hp.com \
    --to=sathisha.nanjappa@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®