mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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:
parent
b5d598b41a
commit
8e8e8267f0
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue