Re: linux-next: build warning after merge of the slave-dma tree

From: Vinod Koul
Date: Mon Nov 26 2018 - 03:09:44 EST


Hi Stephen,

On 26-11-18, 16:59, Stephen Rothwell wrote:
> Hi Vinod,
>
> After merging the slave-dma tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/dma/coh901318.c: In function 'coh901318_config':
> drivers/dma/coh901318.c:1805:16: warning: unused variable 'flags' [-Wunused-variable]
> unsigned long flags;
> ^~~~~
>
> Introduced by commit
>
> 627469e4445b ("dmaengine: coh901318: Fix a double-lock bug")

Thanks for the report, I have fixed it up with below:

-- >8 --