From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>,
Linux Edac Mailing List <linux-edac@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH 3/4] amd64_edac: Fix the rank number of pages count
Date: Mon, 12 Mar 2012 09:48:34 -0300 [thread overview]
Message-ID: <1331556515-7902-4-git-send-email-mchehab@redhat.com> (raw)
In-Reply-To: <1331556515-7902-1-git-send-email-mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
drivers/edac/amd64_edac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index ea7eb9a..d74bcd3 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2227,7 +2227,7 @@ static int init_csrows(struct mem_ctl_info *mci)
for (j = 0; j < pvt->channel_count; j++) {
csrow->channels[j].dimm->mtype = mtype;
csrow->channels[j].dimm->edac_mode = edac_mode;
- csrow->channels[j].dimm->nr_pages = nr_pages / pvt->channel_count;
+ csrow->channels[j].dimm->nr_pages = nr_pages;
}
--
1.7.8
next prev parent reply other threads:[~2012-03-12 12:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-12 12:48 [PATCH 0/4] Some fixes over the last EDAC series Mauro Carvalho Chehab
2012-03-12 12:48 ` [PATCH 1/4] i3200_edac: Fix a regression introduced by 3b6909b Mauro Carvalho Chehab
2012-03-12 12:48 ` [PATCH 2/4] edac: display "rank" for csrow-based MC's at the debug msgs Mauro Carvalho Chehab
2012-03-12 12:48 ` Mauro Carvalho Chehab [this message]
2012-03-12 16:51 ` [PATCH 3/4] amd64_edac: Fix the rank number of pages count Borislav Petkov
2012-03-12 12:48 ` [PATCH 4/4] i5100_edac: Fix a warning on a debug message Mauro Carvalho Chehab
2012-03-12 16:45 ` [PATCH 0/4] Some fixes over the last EDAC series Borislav Petkov
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=1331556515-7902-4-git-send-email-mchehab@redhat.com \
--to=mchehab@redhat.com \
--cc=linux-edac@vger.kernel.org \
--cc=linux-kernel@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
Powered by JetHome