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 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