Skip to content

Commit ecffe75

Browse files
rddunlapdavem330
authored andcommitted
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>
1 parent 7335bae commit ecffe75

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎drivers/net/hippi/rrunner.c‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,9 @@ static int __devinit rr_init_one(struct pci_dev *pdev,
142142
pci_set_master(pdev);
143143

144144
printk(KERN_INFO "%s: Essential RoadRunner serial HIPPI "
145-
"at 0x%08llx, irq %i, PCI latency %i\n", dev->name,
146-
pci_resource_start(pdev, 0), pdev->irq, pci_latency);
145+
"at 0x%llx, irq %i, PCI latency %i\n", dev->name,
146+
(unsigned long long)pci_resource_start(pdev, 0),
147+
pdev->irq, pci_latency);
147148

148149
/*
149150
* Remap the MMIO regs into kernel space.

0 commit comments

Comments
 (0)