summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-05 21:43:55 -0700
committerFelipe Balbi <balbi@ti.com>2014-08-19 09:24:45 -0500
commit50f9f7983773b92af10d8c4d3175a2692559c493 (patch)
tree8b7f6ea1b1ea7dcfd13c94028b955f00e2d920aa /drivers
parentbcabdc24dff2d65dcc5bec093f30302283e5fdf4 (diff)
downloadop-kernel-dev-50f9f7983773b92af10d8c4d3175a2692559c493.zip
op-kernel-dev-50f9f7983773b92af10d8c4d3175a2692559c493.tar.gz
usb: musb: ux500: fix decimal printf format specifiers prefixed with 0x
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 <hans@hanshq.net> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/musb/ux500_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/ux500_dma.c b/drivers/usb/musb/ux500_dma.c
index 9aad00f..221faed 100644
--- 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%llu, len=%d is_tx=%d\n",
+ "packet_sz=%d, mode=%d, dma_addr=0x%llx, len=%d is_tx=%d\n",
packet_sz, mode, (unsigned long long) dma_addr,
len, ux500_channel->is_tx);
OpenPOWER on IntegriCloud