[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606071731.UzDsXK8w%fengguang.wu@intel.com>
Date: Tue, 7 Jun 2016 18:00:57 +0800
From: kbuild test robot <lkp@...el.com>
To: Vignesh R <vigneshr@...com>
Cc: kbuild-all@...org, Mark Brown <broonie@...nel.org>,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, Vignesh R <vigneshr@...com>
Subject: Re: [PATCH v3 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap
read
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
Download attachment ".config.gz" of type "application/octet-stream" (39042 bytes)
Powered by blists - more mailing lists