* [arm-platforms:hack/vim3l-crap 2/4] drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c:23:6: error: 'sy' undeclared; did you mean 's8'?
@ 2020-04-29 0:14 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-29 0:14 UTC (permalink / raw)
To: Marc Zyngier; +Cc: kbuild-all, linux-arm-kernel
[-- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-29 0:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 0:14 [arm-platforms:hack/vim3l-crap 2/4] drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c:23:6: error: 'sy' undeclared; did you mean 's8'? kbuild test robot
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).