Hi, [auto build test WARNING on spi/for-next] [also build test WARNING on v4.7-rc2 next-20160606] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Vignesh-R/spi-Add-DMA-support-for-ti-qspi/20160607-162134 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi for-next config: mn10300-allmodconfig (attached as .config) compiler: am33_2.0-linux-gcc (GCC) 4.9.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=mn10300 All warnings (new ones prefixed by >>): drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_spi_flash_read': >> drivers/spi/spi-ti-qspi.c:549:19: warning: unused variable 'sgt' [-Wunused-variable] struct sg_table sgt; ^ >> drivers/spi/spi-ti-qspi.c:548:9: warning: unused variable 'buf' [-Wunused-variable] void *buf = msg->buf; ^ >> drivers/spi/spi-ti-qspi.c:547:18: warning: unused variable 'dev' [-Wunused-variable] struct device *dev = qspi->rx_chan->device->dev; ^ vim +/sgt +549 drivers/spi/spi-ti-qspi.c 541 542 if (!qspi->mmap_enabled) 543 ti_qspi_enable_memory_map(spi); 544 ti_qspi_setup_mmap_read(spi, msg); 545 546 if (qspi->rx_chan) { > 547 struct device *dev = qspi->rx_chan->device->dev; > 548 void *buf = msg->buf; > 549 struct sg_table sgt; 550 551 if (msg->cur_msg_mapped) { 552 ret = ti_qspi_dma_xfer_sg(qspi, msg->rx_sg, msg->from); --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation