Re: [PATCH v3 1/2] spi: Add DMA support for spi_flash_read()

From: Vignesh R
Date: Wed Jun 08 2016 - 02:52:16 EST




On Wednesday 08 June 2016 03:59 AM, kbuild test robot wrote:
> Hi,
>
> [auto build test ERROR on spi/for-next]
> [also build test ERROR on v4.7-rc2 next-20160607]
> [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: m32r-allyesconfig (attached as .config)
> compiler: m32r-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=m32r
>
> All errors (new ones prefixed by >>):
>
> drivers/spi/spi.c: In function 'spi_flash_read':
>>> drivers/spi/spi.c:2758:3: error: implicit declaration of function 'spi_map_buf' [-Werror=implicit-function-declaration]
> ret = spi_map_buf(master, rx_dev, &msg->rx_sg,
> ^
>>> drivers/spi/spi.c:2766:3: error: implicit declaration of function 'spi_unmap_buf' [-Werror=implicit-function-declaration]
> spi_unmap_buf(master, rx_dev, &msg->rx_sg,
> ^
> cc1: some warnings being treated as errors
>


Oops, posted v4 fixing these errors.


--
Regards
Vignesh