Re: [PATCH 1/3] dmaengine: virt-dma: move function declarations

2016-09-30 Thread Vinod Koul
On Sat, Sep 24, 2016 at 12:37:05PM +0800, Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/dma/virt-dma.c:22:14: warning: no previous prototype for > 'vchan_tx_submit' [-Wmissing-prototypes] > drivers/dma/virt-dma.c:52:5: warning: no previous prototype for > 'vchan_t

Re: [PATCH 1/3] dmaengine: virt-dma: move function declarations

2016-09-24 Thread Arnd Bergmann
On Saturday, September 24, 2016 12:37:05 PM CEST Baoyou Xie wrote: > We get 2 warnings when building kernel with W=1: > drivers/dma/virt-dma.c:22:14: warning: no previous prototype for > 'vchan_tx_submit' [-Wmissing-prototypes] > drivers/dma/virt-dma.c:52:5: warning: no previous prototype for > '

[PATCH 1/3] dmaengine: virt-dma: move function declarations

2016-09-23 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/dma/virt-dma.c:22:14: warning: no previous prototype for 'vchan_tx_submit' [-Wmissing-prototypes] drivers/dma/virt-dma.c:52:5: warning: no previous prototype for 'vchan_tx_desc_free' [-Wmissing-prototypes] In fact, these two functions are