Re: [patch 3/4] USB: musb: silence printk format warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux