projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3dc5be
)
parport_gsc: fix printk format error
author
Alexander Beregalov
<
[email protected]
>
Thu, 28 May 2009 21:34:33 +0000
(14:34 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 29 May 2009 15:40:02 +0000
(08:40 -0700)
drivers/parport/parport_gsc.c:356: warning: format '%lx' expects type
'long unsigned int', but argument 2 has type 'resource_size_t'
[
[email protected]
: fix it to handle u64's]
Signed-off-by: Alexander Beregalov <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/parport/parport_gsc.c
patch
|
blob
|
history
diff --git
a/drivers/parport/parport_gsc.c
b/drivers/parport/parport_gsc.c
index e6a7e847ee805cbdd24384c08bc532560097c398..ea31a452b153e55e8ce378000e02ee952a5e8991 100644
(file)
--- a/
drivers/parport/parport_gsc.c
+++ b/
drivers/parport/parport_gsc.c
@@
-352,8
+352,8
@@
static int __devinit parport_init_chip(struct parisc_device *dev)
unsigned long port;
if (!dev->irq) {
- printk(KERN_WARNING "IRQ not found for parallel device at 0x%lx\n",
- dev->hpa.start);
+ printk(KERN_WARNING "IRQ not found for parallel device at 0x%l
l
x\n",
+
(unsigned long long)
dev->hpa.start);
return -ENODEV;
}