Re: [PATCH 03/15] spi: qup: Add completion timeout for dma mode

From: kbuild test robot
Date: Sat Jun 17 2017 - 22:18:26 EST


Hi Varadarajan,

[auto build test ERROR on spi/for-next]
[also build test ERROR on v4.12-rc5 next-20170616]
[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/Varadarajan-Narayanan/spi-qup-Fixes-and-add-support-for-64k-transfers/20170618-072148
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64

Note: the linux-review/Varadarajan-Narayanan/spi-qup-Fixes-and-add-support-for-64k-transfers/20170618-072148 HEAD 6d576268af40336063b1df090673a480642ce26d builds fine.
It only hurts bisectibility.

All errors (new ones prefixed by >>):

drivers/spi/spi-qup.c: In function 'spi_qup_do_dma':
>> drivers/spi/spi-qup.c:356:62: error: 'timeout' undeclared (first use in this function)
if (xfer->rx_buf && !wait_for_completion_timeout(&qup->rxc, timeout))
^~~~~~~
drivers/spi/spi-qup.c:356:62: note: each undeclared identifier is reported only once for each function it appears in

vim +/timeout +356 drivers/spi/spi-qup.c

350 if (ret)
351 return ret;
352
353 dma_async_issue_pending(master->dma_tx);
354 }
355
> 356 if (xfer->rx_buf && !wait_for_completion_timeout(&qup->rxc, timeout))
357 return -ETIMEDOUT;
358
359 if (xfer->tx_buf && !wait_for_completion_timeout(&qup->txc, timeout))

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip