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 4/4] i5100_edac: Fix a warning on a debug message
Date: Mon, 12 Mar 2012 09:48:35 -0300 [thread overview]
Message-ID: <1331556515-7902-5-git-send-email-mchehab@redhat.com> (raw)
In-Reply-To: <1331556515-7902-1-git-send-email-mchehab@redhat.com>
drivers/edac/i5100_edac.c: In function ‘i5100_init_csrows’:
drivers/edac/i5100_edac.c:864:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
drivers/edac/i5100_edac.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c
index 2eb44d8..254d7e4 100644
--- a/drivers/edac/i5100_edac.c
+++ b/drivers/edac/i5100_edac.c
@@ -861,7 +861,7 @@ static void __devinit i5100_init_csrows(struct mem_ctl_info *mci)
"DIMM%u",
i5100_rank_to_slot(mci, chan, rank));
- debugf2("dimm channel %d, rank %d, size %d\n",
+ debugf2("dimm channel %d, rank %d, size %zd\n",
chan, rank, PAGES_TO_MiB(npages));
}
}
--
1.7.8
next prev parent reply other threads:[~2012-03-12 12:48 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 ` [PATCH 3/4] amd64_edac: Fix the rank number of pages count Mauro Carvalho Chehab
2012-03-12 16:51 ` Borislav Petkov
2012-03-12 12:48 ` Mauro Carvalho Chehab [this message]
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-5-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