diff options
author | Dan Carpenter <error27@gmail.com> | 2011-03-20 14:16:17 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-04-13 11:51:23 +0300 |
commit | 2fbcf3fa43af809ebf4e4ad33c2f0a17e903385c (patch) | |
tree | c120105a884b504db0b8e8d4617ffc4e1ffd1be1 /drivers/nubus | |
parent | aca7f353219abfb7b8a1530fbba1b1acf0e30da4 (diff) | |
download | kernel_samsung_aries-2fbcf3fa43af809ebf4e4ad33c2f0a17e903385c.zip kernel_samsung_aries-2fbcf3fa43af809ebf4e4ad33c2f0a17e903385c.tar.gz kernel_samsung_aries-2fbcf3fa43af809ebf4e4ad33c2f0a17e903385c.tar.bz2 |
USB: musb: silence printk format warning
Gcc gives the following warnings:
drivers/usb/musb/cppi_dma.c: In function ‘cppi_next_tx_segment’:
drivers/usb/musb/cppi_dma.c:600: warning: format ‘%x’ expects type ‘unsigned int’, but argument 8 has type ‘dma_addr_t’
drivers/usb/musb/cppi_dma.c: In function ‘cppi_next_rx_segment’:
drivers/usb/musb/cppi_dma.c:822: warning: format ‘%x’ expects type ‘unsigned int’, but argument 9 has type ‘dma_addr_t’
drivers/usb/musb/cppi_dma.c: In function ‘cppi_rx_scan’:
drivers/usb/musb/cppi_dma.c:1042: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 4 has type ‘dma_addr_t’
drivers/usb/musb/cppi_dma.c:1114: warning: format ‘%08x’ expects type ‘unsigned int’, but argument 7 has type ‘dma_addr_t’
dma_addr_t is sometimes 32 bit and sometimes 64. We normally cast them
to unsigned long long for printk().
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions