projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcabdc2
)
usb: musb: ux500: fix decimal printf format specifiers prefixed with 0x
author
Hans Wennborg
<
[email protected]
>
Wed, 6 Aug 2014 04:43:55 +0000
(21:43 -0700)
committer
Felipe Balbi
<
[email protected]
>
Tue, 19 Aug 2014 14:24:45 +0000
(09:24 -0500)
The prefix suggests the number should be printed in hex, so use
the %x specifier to do that.
Found by using regex suggested by Joe Perches.
Signed-off-by: Hans Wennborg <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/musb/ux500_dma.c
patch
|
blob
|
history
diff --git
a/drivers/usb/musb/ux500_dma.c
b/drivers/usb/musb/ux500_dma.c
index 9aad00f11bd5e81fb16a4930c1ba9b0efe951acd..221faed9f07408d5881d1dd6c43270a1a5f1c240 100644
(file)
--- a/
drivers/usb/musb/ux500_dma.c
+++ b/
drivers/usb/musb/ux500_dma.c
@@
-96,7
+96,7
@@
static bool ux500_configure_channel(struct dma_channel *channel,
struct musb *musb = ux500_channel->controller->private_data;
dev_dbg(musb->controller,
- "packet_sz=%d, mode=%d, dma_addr=0x%ll
u
, len=%d is_tx=%d\n",
+ "packet_sz=%d, mode=%d, dma_addr=0x%ll
x
, len=%d is_tx=%d\n",
packet_sz, mode, (unsigned long long) dma_addr,
len, ux500_channel->is_tx);