mirror of https://gitee.com/openkylin/linux.git
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' [akpm@linux-foundation.org: fix it to handle u64's] Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b5d598b41a
commit
8e8e8267f0
|
@ -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 New Issue