summaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb/ux500_dma.c
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-06 06:43:55 +0200
committerFelipe Balbi <balbi@ti.com>2014-08-19 16:24:45 +0200
commit50f9f7983773b92af10d8c4d3175a2692559c493 (patch)
tree8b7f6ea1b1ea7dcfd13c94028b955f00e2d920aa /drivers/usb/musb/ux500_dma.c
parentusb: atmel_usba_udc: fix it to deal with final dma channel (diff)
downloadlinux-50f9f7983773b92af10d8c4d3175a2692559c493.tar.xz
linux-50f9f7983773b92af10d8c4d3175a2692559c493.zip
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/usb/musb/ux500_dma.c')
-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 9aad00f11bd5..221faed9f074 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);