On Sun, Mar 20, 2011 at 02:16:17PM +0300, Dan Carpenter wrote: > 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@xxxxxxxxx> applied, thanks -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html