usb: renesas_usbhs: silence a gcc warning
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Dec 2011 11:31:37 +0000 (14:31 +0300)
committerFelipe Balbi <balbi@ti.com>
Thu, 15 Dec 2011 11:45:58 +0000 (13:45 +0200)
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>
drivers/usb/renesas_usbhs/mod_gadget.c

index db2a1c6a0866f79c2ef8c1fcf62709c371715f9d..528691d5f3e261119282145e775536a50ea2dc9e 100644 (file)
@@ -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;
        }