From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>, rolandd@cisco.com
Subject: [PATCH -mm] infiniband: fix printk format warning
Date: Tue, 28 Mar 2006 22:19:40 -0800 [thread overview]
Message-ID: <20060328221940.bf1dd059.rdunlap@xenotime.net> (raw)
From: Randy Dunlap <rdunlap@xenotime.net>
Fix printk format warnings:
drivers/infiniband/hw/ipath/ipath_driver.c:452: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'u64'
drivers/infiniband/hw/ipath/ipath_driver.c:452: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'u64'
drivers/infiniband/hw/ipath/ipath_driver.c:452: warning: format '%lx' expects type 'long unsigned int', but argument 6 has type 'u64'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
drivers/infiniband/hw/ipath/ipath_driver.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
--- linux-2616-mm2.orig/drivers/infiniband/hw/ipath/ipath_driver.c
+++ linux-2616-mm2/drivers/infiniband/hw/ipath/ipath_driver.c
@@ -449,10 +449,10 @@ static int __devinit ipath_init_one(stru
for (j = 0; j < 6; j++) {
if (!pdev->resource[j].start)
continue;
- ipath_cdbg(VERBOSE, "BAR %d start %lx, end %lx, len %lx\n",
- j, pdev->resource[j].start,
- pdev->resource[j].end,
- pci_resource_len(pdev, j));
+ ipath_cdbg(VERBOSE, "BAR %d start %llx, end %llx, len %llx\n",
+ j, (unsigned long long)pdev->resource[j].start,
+ (unsigned long long)pdev->resource[j].end,
+ (unsigned long long)pci_resource_len(pdev, j));
}
if (!addr) {
---
reply other threads:[~2006-03-29 6:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060328221940.bf1dd059.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rolandd@cisco.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
all inboxes | Powered by JetHome®