diff options
author | 2014-10-22 11:52:01 +0900 | |
---|---|---|
committer | 2014-11-03 15:38:17 -0800 | |
commit | a57971bfa1e9aa9b42ed72df027d5b985b31b56b (patch) | |
tree | 962340208642ad60e66ede35d8900eefba8d9bf3 /drivers/usb/host/ehci-platform.c | |
parent | usb: hub: remove unused variable (diff) | |
download | linux-dev-a57971bfa1e9aa9b42ed72df027d5b985b31b56b.tar.xz linux-dev-a57971bfa1e9aa9b42ed72df027d5b985b31b56b.zip |
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>
Diffstat (limited to 'drivers/usb/host/ehci-platform.c')
0 files changed, 0 insertions, 0 deletions