* [sashal-linux-stable:queue-4.4 10/25] drivers/mmc/host/sdhci-of-esdhc.c:386:6: error: implicit declaration of function 'of_dma_is_coherent'
@ 2019-10-09 11:19 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-09 11:19 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2165 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head: b3505a83224e434233bf02d8a560a32b28d49ef8
commit: 536242d3dfd3bc391f1e3a1e77547fc55cbc278b [10/25] mmc: sdhci-of-esdhc: set DMA snooping based on DMA coherence
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 536242d3dfd3bc391f1e3a1e77547fc55cbc278b
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/mmc/host/sdhci-of-esdhc.c: In function 'esdhc_of_enable_dma':
>> drivers/mmc/host/sdhci-of-esdhc.c:386:6: error: implicit declaration of function 'of_dma_is_coherent' [-Werror=implicit-function-declaration]
if (of_dma_is_coherent(dev->of_node))
^~~~~~~~~~~~~~~~~~
drivers/mmc/host/sdhci-of-esdhc.c:386:25: error: 'dev' undeclared (first use in this function); did you mean 'cdev'?
if (of_dma_is_coherent(dev->of_node))
^~~
cdev
drivers/mmc/host/sdhci-of-esdhc.c:386:25: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
vim +/of_dma_is_coherent +386 drivers/mmc/host/sdhci-of-esdhc.c
379
380 static int esdhc_of_enable_dma(struct sdhci_host *host)
381 {
382 u32 value;
383
384 value = sdhci_readl(host, ESDHC_DMA_SYSCTL);
385
> 386 if (of_dma_is_coherent(dev->of_node))
387 value |= ESDHC_DMA_SNOOP;
388 else
389 value &= ~ESDHC_DMA_SNOOP;
390
391 sdhci_writel(host, value, ESDHC_DMA_SYSCTL);
392 return 0;
393 }
394
---
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: 46606 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-09 11:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09 11:19 [sashal-linux-stable:queue-4.4 10/25] drivers/mmc/host/sdhci-of-esdhc.c:386:6: error: implicit declaration of function 'of_dma_is_coherent' 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.