serial: 8250_gsc: fix printk format error

drivers/serial/8250_gsc.c:44: 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]>
Cc: Alan Cox <[email protected]>
Cc: Kyle McMartin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Alexander Beregalov 2009-05-28 14:34:34 -07:00 • committed by Linus Torvalds
commit 8e8e8267f0

View file

@ -39,9 +39,9 @@ static int __init serial_init_chip(struct parisc_device *dev)
*/
if (parisc_parent(dev)->id.hw_type != HPHW_IOA)
printk(KERN_INFO
"Serial: device 0x%lx not configured.\n"
"Serial: device 0x%llx not configured.\n"
"Enable support for Wax, Lasi, Asp or Dino.\n",
dev->hpa.start);
(unsigned long long)dev->hpa.start);
return -ENODEV;
}