* [PATCH -mm] infiniband: fix printk format warning
@ 2006-03-29 6:19 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2006-03-29 6:19 UTC (permalink / raw)
To: lkml; +Cc: akpm, rolandd
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) {
---
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-29 6:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-29 6:19 [PATCH -mm] infiniband: fix printk format warning Randy.Dunlap
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®