Skip to content

Commit

Permalink
usb: renesas_usbhs: silence a gcc warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Felipe Balbi committed Dec 15, 2011
1 parent d9b78f3 commit 8418153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/renesas_usbhs/mod_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8418153

Please sign in to comment.