[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5122442.W5xU4aPJQU@wuerfel>
Date: Sat, 24 Sep 2016 11:07:17 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Baoyou Xie <baoyou.xie@...aro.org>
Cc: dan.j.williams@...el.com, vinod.koul@...el.com,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
xie.baoyou@....com.cn
Subject: Re: [PATCH 1/3] dmaengine: virt-dma: move function declarations
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 'vchan_tx_desc_free' [-Wmissing-prototypes]
>
> In fact, these two functions are incorrectly declared in a function.
>
> So this patch moves function declarations out of this function.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists