[PATCH -mm] infiniband: fix printk format warning
From: Randy.Dunlap
Date: Wed Mar 29 2006 - 01:14:28 EST
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
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@xxxxxxxxxxxx>
---
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) {
---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/