parport_gsc: fix printk format error
drivers/parport/parport_gsc.c:356: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t' [akpm@linux-foundation.org: fix it to handle u64's] Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c3dc5bec05
commit
b5d598b41a
|
@ -352,8 +352,8 @@ static int __devinit parport_init_chip(struct parisc_device *dev)
|
||||||
unsigned long port;
|
unsigned long port;
|
||||||
|
|
||||||
if (!dev->irq) {
|
if (!dev->irq) {
|
||||||
printk(KERN_WARNING "IRQ not found for parallel device at 0x%lx\n",
|
printk(KERN_WARNING "IRQ not found for parallel device at 0x%llx\n",
|
||||||
dev->hpa.start);
|
(unsigned long long)dev->hpa.start);
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue