From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Wed, 09 Oct 2019 19:19:30 +0800 [thread overview]
Message-ID: <201910091928.Nek1xsii%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2019-10-09 11:19 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201910091928.Nek1xsii%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.