mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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%llx\n",
|
||||
(unsigned long long)dev->hpa.start);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue