Skip to content

Commit

Permalink
hippi: fix printk format in rrunner.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Apr 17, 2012
1 parent 7335bae commit ecffe75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/net/hippi/rrunner.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit ecffe75

Please sign in to comment.