linux-next: build warning after merge of the spi tree
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")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi Mark,
After merging the spi tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
Quoted 9 lines
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: Usedma_enginewrapper for dma memcpy call")
Sorry, I have posted a fix for the same.
Signature · 2 lines
Regards Vignesh