Re: [PATCH 1/3] net: mediatek: use dma_addr_t correctly

2016-03-14 Thread John Crispin
On 14/03/2016 15:07, Arnd Bergmann wrote: > dma_alloc_coherent() expects a dma_addr_t pointer as its argument, > not an 'unsigned int', and gcc correctly warns about broken > code in the mtk_init_fq_dma function: > > drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_init_fq_dma': > d

Re: [PATCH 1/3] net: mediatek: use dma_addr_t correctly

2016-03-14 Thread David Miller
From: Arnd Bergmann Date: Mon, 14 Mar 2016 15:07:10 +0100 > dma_alloc_coherent() expects a dma_addr_t pointer as its argument, > not an 'unsigned int', and gcc correctly warns about broken > code in the mtk_init_fq_dma function: > > drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_i

[PATCH 1/3] net: mediatek: use dma_addr_t correctly

2016-03-14 Thread Arnd Bergmann
dma_alloc_coherent() expects a dma_addr_t pointer as its argument, not an 'unsigned int', and gcc correctly warns about broken code in the mtk_init_fq_dma function: drivers/net/ethernet/mediatek/mtk_eth_soc.c: In function 'mtk_init_fq_dma': drivers/net/ethernet/mediatek/mtk_eth_soc.c:463:13: error