mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
apbuart: Fix build warning.
drivers/serial/apbuart.c: In function ‘apbuart_probe’: drivers/serial/apbuart.c:574: warning: format ‘%x’ expects type ‘unsigned int’, but argument 2 has type ‘resource_size_t’ Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d4ac42a582
commit
384a17b284
1 changed files with 2 additions and 2 deletions
|
@ -570,8 +570,8 @@ static int __devinit apbuart_probe(struct of_device *op,
|
|||
|
||||
apbuart_flush_fifo((struct uart_port *) port);
|
||||
|
||||
printk(KERN_INFO "grlib-apbuart at 0x%x, irq %d\n",
|
||||
port->mapbase, port->irq);
|
||||
printk(KERN_INFO "grlib-apbuart at 0x%llx, irq %d\n",
|
||||
(unsigned long long) port->mapbase, port->irq);
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue