diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-12-15 14:31:37 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-15 13:45:58 +0200 |
commit | 8418153a4ccd38a3bc3229bc4bd161e3e5db88d2 (patch) | |
tree | 80a93991fd421f421816f51f9118879ca20204e2 /drivers/usb/renesas_usbhs/mod_gadget.c | |
parent | d9b78f33d9c1b699b66f10ad2329487f813c4642 (diff) | |
download | op-kernel-dev-8418153a4ccd38a3bc3229bc4bd161e3e5db88d2.zip op-kernel-dev-8418153a4ccd38a3bc3229bc4bd161e3e5db88d2.tar.gz |
usb: renesas_usbhs: silence a gcc warning
Gcc complains about this printk:
drivers/usb/renesas_usbhs/mod_gadget.c:188:3: warning: format ‘%x’
expects argument of type ‘unsigned int’, but argument 3 has type
‘dma_addr_t’ [-Wformat]
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/mod_gadget.c')
-rw-r--r-- | drivers/usb/renesas_usbhs/mod_gadget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c index db2a1c6..528691d5f 100644 --- a/drivers/usb/renesas_usbhs/mod_gadget.c +++ b/drivers/usb/renesas_usbhs/mod_gadget.c @@ -185,7 +185,7 @@ static int usbhsg_dma_map(struct device *dev, } if (dma_mapping_error(dev, pkt->dma)) { - dev_err(dev, "dma mapping error %x\n", pkt->dma); + dev_err(dev, "dma mapping error %llx\n", (u64)pkt->dma); return -EIO; } |