projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4ac42a
)
apbuart: Fix build warning.
author
David S. Miller
<davem@davemloft.net>
Wed, 4 Nov 2009 16:47:03 +0000
(08:47 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Nov 2009 16:47:03 +0000
(08:47 -0800)
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>
drivers/serial/apbuart.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/serial/apbuart.c
b/drivers/serial/apbuart.c
index 8a343045131f6bd456d48652029ebfd6fc3592d4..c7883a36be9d438244e91c099335d74f2f84d970 100644
(file)
--- a/
drivers/serial/apbuart.c
+++ b/
drivers/serial/apbuart.c
@@
-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%
ll
x, irq %d\n",
+
(unsigned long long)
port->mapbase, port->irq);
return 0;
}