hippi: fix printk format in rrunner.c
authorRandy Dunlap <rdunlap@xenotime.net>
Mon, 16 Apr 2012 15:01:33 +0000 (15:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Apr 2012 03:48:38 +0000 (23:48 -0400)
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>
drivers/net/hippi/rrunner.c

index b6a2bdeff59521c84ed1f56eec393b943ca67c6c..d4719632ffc687ec6e3aa69b52cc5de337b49bc8 100644 (file)
@@ -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.