Re: linux-next: build warning after merge of the spi tree
From: Vignesh R
Date: Mon Mar 27 2017 - 01:34:41 EST
On Monday 27 March 2017 08:11 AM, Stephen Rothwell wrote:
> Hi Mark,
>
> After merging the spi tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer':
> drivers/spi/spi-ti-qspi.c:398:21: warning: unused variable 'dma_dev' [-Wunused-variable]
> struct dma_device *dma_dev = chan->device;
> ^
>
> Introduced by commit
>
> 1351aaeb50b2 ("spi: spi-ti-qspi: Use dma_engine wrapper for dma memcpy call")
>
Sorry, I have posted a fix for the same.
--
Regards
Vignesh