* [spi:topic/ti-qspi 10/11] drivers/spi/spi-ti-qspi.c:404:7: error: implicit declaration of function 'dmaengine_prep_dma_memcpy'
@ 2017-03-27 13:41 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-03-27 13:41 UTC (permalink / raw)
To: Vignesh R
Cc: kbuild-all-JC7UmRfGjtg, linux-spi-u79uwXL29TY76Z2rM5mHXA, Mark Brown
[-- Attachment #1: Type: text/plain, Size: 1909 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git topic/ti-qspi
head: cb3c8e5ade3f01839ce0a9388ddc9729de4e2d6d
commit: 1351aaeb50b2ae5eb5469b3d3d0a84073a127a39 [10/11] spi: spi-ti-qspi: Use dma_engine wrapper for dma memcpy call
config: i386-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 1351aaeb50b2ae5eb5469b3d3d0a84073a127a39
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer':
>> drivers/spi/spi-ti-qspi.c:404:7: error: implicit declaration of function 'dmaengine_prep_dma_memcpy' [-Werror=implicit-function-declaration]
tx = dmaengine_prep_dma_memcpy(chan, dma_dst, dma_src, len, flags);
^~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/spi/spi-ti-qspi.c:404:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
tx = dmaengine_prep_dma_memcpy(chan, dma_dst, dma_src, len, flags);
^
drivers/spi/spi-ti-qspi.c:398:21: warning: unused variable 'dma_dev' [-Wunused-variable]
struct dma_device *dma_dev = chan->device;
^~~~~~~
cc1: some warnings being treated as errors
vim +/dmaengine_prep_dma_memcpy +404 drivers/spi/spi-ti-qspi.c
398 struct dma_device *dma_dev = chan->device;
399 dma_cookie_t cookie;
400 enum dma_ctrl_flags flags = DMA_CTRL_ACK | DMA_PREP_INTERRUPT;
401 struct dma_async_tx_descriptor *tx;
402 int ret;
403
> 404 tx = dmaengine_prep_dma_memcpy(chan, dma_dst, dma_src, len, flags);
405 if (!tx) {
406 dev_err(qspi->dev, "device_prep_dma_memcpy error\n");
407 return -EIO;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 56822 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-27 13:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 13:41 [spi:topic/ti-qspi 10/11] drivers/spi/spi-ti-qspi.c:404:7: error: implicit declaration of function 'dmaengine_prep_dma_memcpy' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.