Skip to content

Commit

Permalink
apbuart: Fix build warning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Nov 4, 2009
1 parent d4ac42a commit 384a17b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/apbuart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}
Expand Down

0 comments on commit 384a17b

Please sign in to comment.