From: Hui Wang <jason77.wang@gmail.com>
To: <mchehab@redhat.com>
Cc: <linux-edac@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<tony.luck@intel.com>
Subject: [PATCH 3/3] edac: sb_edac: Fix a wrong value setting for the
Date: Mon, 6 Feb 2012 15:11:01 +0800 [thread overview]
Message-ID: <1328512261-19896-4-git-send-email-jason77.wang@gmail.com> (raw)
In-Reply-To: <1328512261-19896-3-git-send-email-jason77.wang@gmail.com>
>From the driver design, the variable limit wants to compare with its
previous value, we should set the value of limit instead of the value
of tmp_mb to the variable prev.
Signed-off-by: Hui Wang <jason77.wang@gmail.com>
---
drivers/edac/sb_edac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/edac/sb_edac.c b/drivers/edac/sb_edac.c
index f84a515..178093f 100644
--- a/drivers/edac/sb_edac.c
+++ b/drivers/edac/sb_edac.c
@@ -757,7 +757,7 @@ static void get_memory_layout(const struct mem_ctl_info *mci)
(u32)TAD_TGT2(reg),
(u32)TAD_TGT3(reg),
reg);
- prv = tmp_mb;
+ prv = limit;
}
/*
--
1.7.6
prev parent reply other threads:[~2012-02-06 7:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-06 7:10 [PATCH 0/3] edac: sb_edac: Fix three minor problems Hui Wang
2012-02-06 7:10 ` [PATCH 1/3] edac: sb_edac: Let the driver depend on PCI_MMCONFIG Hui Wang
2012-02-06 7:11 ` [PATCH 2/3] edac: sb_edac: Fix a INTERLEAVE_MODE() misuse Hui Wang
2012-02-06 7:11 ` Hui Wang [this message]
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=1328512261-19896-4-git-send-email-jason77.wang@gmail.com \
--to=jason77.wang@gmail.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=tony.luck@intel.com \
/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
Powered by JetHome