summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-04-16 17:01:33 +0200
committerDavid S. Miller <davem@davemloft.net>2012-04-17 05:48:38 +0200
commitecffe75f934b4e3c5301fe5db278068e0efb0d6b (patch)
tree88b7aa5a951d092ea58d075a229dcab33e98a75e /drivers
parentMerge branch 'master' of git://gitorious.org/linux-can/linux-can-next (diff)
downloadlinux-ecffe75f934b4e3c5301fe5db278068e0efb0d6b.tar.xz
linux-ecffe75f934b4e3c5301fe5db278068e0efb0d6b.zip
hippi: fix printk format in rrunner.c
Fix printk format warning (from i386 build): drivers/net/hippi/rrunner.c:146:9: warning: format '%08llx' expects type 'long long unsigned int', but argument 3 has type 'resource_size_t' Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Cc: Jes Sorensen <jes@trained-monkey.org> Cc: linux-hippi@sunsite.dk Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/hippi/rrunner.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/hippi/rrunner.c b/drivers/net/hippi/rrunner.c
index b6a2bdeff595..d4719632ffc6 100644
--- a/drivers/net/hippi/rrunner.c
+++ b/drivers/net/hippi/rrunner.c
@@ -142,8 +142,9 @@ static int __devinit rr_init_one(struct pci_dev *pdev,
pci_set_master(pdev);
printk(KERN_INFO "%s: Essential RoadRunner serial HIPPI "
- "at 0x%08llx, irq %i, PCI latency %i\n", dev->name,
- pci_resource_start(pdev, 0), pdev->irq, pci_latency);
+ "at 0x%llx, irq %i, PCI latency %i\n", dev->name,
+ (unsigned long long)pci_resource_start(pdev, 0),
+ pdev->irq, pci_latency);
/*
* Remap the MMIO regs into kernel space.