* [PATCH -next] hippi: fix printk format in rrunner.c
[not found] <20120416161121.261ba4e7e38989173accfb16@canb.auug.org.au>
@ 2012-04-17 1:01 ` Randy Dunlap
2012-04-17 3:48 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2012-04-17 1:01 UTC (permalink / raw)
To: Stephen Rothwell
Cc: linux-next, LKML, netdev, linux-hippi, Jes Sorensen,
Andrew Morton
From: Randy Dunlap <rdunlap@xenotime.net>
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
---
drivers/net/hippi/rrunner.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- linux-next-20120416.orig/drivers/net/hippi/rrunner.c
+++ linux-next-20120416/drivers/net/hippi/rrunner.c
@@ -142,8 +142,9 @@ static int __devinit rr_init_one(struct
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH -next] hippi: fix printk format in rrunner.c
2012-04-17 1:01 ` [PATCH -next] hippi: fix printk format in rrunner.c Randy Dunlap
@ 2012-04-17 3:48 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-04-17 3:48 UTC (permalink / raw)
To: rdunlap; +Cc: sfr, linux-next, linux-kernel, netdev, linux-hippi, jes, akpm
From: Randy Dunlap <rdunlap@xenotime.net>
Date: Mon, 16 Apr 2012 18:01:33 -0700
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> 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>
I'll apply this, thanks Randy.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-17 3:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20120416161121.261ba4e7e38989173accfb16@canb.auug.org.au>
2012-04-17 1:01 ` [PATCH -next] hippi: fix printk format in rrunner.c Randy Dunlap
2012-04-17 3:48 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).