]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
USB: imx21-hcd: use %pad for dma_addr_t
authorJingoo Han <jg1.han@samsung.com>
Wed, 22 Oct 2014 02:52:01 +0000 (11:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Nov 2014 23:38:17 +0000 (15:38 -0800)
commita57971bfa1e9aa9b42ed72df027d5b985b31b56b
tree962340208642ad60e66ede35d8900eefba8d9bf3
parent527307eacb014ba903b80694e6855fbdf20c89df
USB: imx21-hcd: use %pad for dma_addr_t

Use %pad for dma_addr_t, because a dma_addr_t type can vary
based on build options. So, it prevents the following build
warnings in printks.

drivers/usb/host/imx21-hcd.c:1175:2: warning: format '%X' expects argument of type 'unsigned int', but argument 8 has type
'dma_addr_t' [-Wformat]
drivers/usb/host/imx21-hcd.c:1175:2: warning: format '%X' expects argument of type 'unsigned int', but argument 10 has type
'dma_addr_t' [-Wformat]

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/imx21-hcd.c