• Jingoo Han's avatar
    USB: imx21-hcd: use %pad for dma_addr_t · a57971bf
    Jingoo Han authored
    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: default avatarJingoo Han <jg1.han@samsung.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    a57971bf
imx21-hcd.c 47.8 KB