Skip to contentSkip to conversation

linux-next: build warning after merge of the spi tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 27, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi Mark,

After merging the spi tree, today's linux-next build (x86_64 allmodconfig) 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: Use dma_engine wrapper for dma memcpy call")

Sorry, I have posted a fix for the same.

Signature · 2 lines
Regards
Vignesh