From: kbuild test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org
Subject: [arm-platforms:hack/vim3l-crap 2/4] drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c:23:6: error: 'sy' undeclared; did you mean 's8'?
Date: Wed, 29 Apr 2020 08:14:59 +0800 [thread overview]
Message-ID: <202004290856.4f8KNzDN%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2072 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git hack/vim3l-crap
head: 41932c0b588f27849db85be7fb1597b7900d7250
commit: fe21375d85c7b1370da2351893a6e2eeebb3b573 [2/4] dwmac: workaround random DMA reset failures
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout fe21375d85c7b1370da2351893a6e2eeebb3b573
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c: In function 'dwmac_dma_reset':
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c:23:2: error: implicit declaration of function 'dsb'; did you mean 'insb'? [-Werror=implicit-function-declaration]
dsb(sy);
^~~
insb
>> drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c:23:6: error: 'sy' undeclared (first use in this function); did you mean 's8'?
dsb(sy);
^~
s8
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c:23:6: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
vim +23 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c
15
16 int dwmac_dma_reset(void __iomem *ioaddr)
17 {
18 u32 value;
19
20
21 writel(0, ioaddr + DMA_CONTROL);
22 writel(0, ioaddr + DMA_INTR_ENA);
> 23 dsb(sy);
24 value = readl(ioaddr + DMA_BUS_MODE);
25
26 /* DMA SW reset */
27 value = DMA_BUS_MODE_SFT_RESET;
28 writel(value, ioaddr + DMA_BUS_MODE);
29
30 dsb(sy);
31
32 while (readl_poll_timeout(ioaddr + DMA_BUS_MODE, value,
33 !(value & DMA_BUS_MODE_SFT_RESET),
34 100000, 1000000))
35 pr_info("Reset failed\n");
36
37 return 0;
38 }
39
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 72426 bytes --]
[-- Attachment #3: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reply other threads:[~2020-04-29 0:15 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=202004290856.4f8KNzDN%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=maz@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).