include/soc/tegra/mc.h:201:1: error: expected identifier or '(' before '{' token
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 46 lines · Dmitry Osipenko
21.01.2020 19:04, kbuild test robot пишет:
Quoted 35 lines
tree: https://git.linaro.org/people/georgi.djakov/linux.git icc-tegra head: e5ac142a10a0e939010b6e471d2c1941151c7a27 commit: 7fa226c3b77d0546835bad3f66fc1befecc90076 [24/41] interconnect: Add memory interconnection providers for NVIDIA Tegra SoCs config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 7.5.0reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
git checkout7fa226c3b77d0546835bad3f66fc1befecc90076
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=arm64If you fix the issue, kindly add following tag
Reported-by kbuild test robot <[email protected]>All errors (new ones prefixed by >>):
In file included from
drivers/memory/tegra/mc.h:13:0,from drivers/memory/tegra/tegra210.c:8:Quoted 1 line
Quoted 1 line
include/soc/tegra/mc.h:201:1: error: expected identifier or '(' before '{' token{ ^ include/soc/tegra/mc.h:200:19: warning: 'tegra_icc_mc_setup_interconnect' declared 'static' but never defined [-Wunused-function] static inline int tegra_icc_mc_setup_interconnect(struct tegra_mc *mc); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~vim +201
include/soc/tegra/mc.h194 195 #ifdef CONFIG_INTERCONNECT_TEGRA 196 int tegra_icc_mc_setup_interconnect(struct tegra_mc *mc); 197 int tegra_icc_emc_setup_interconnect(struct device *emc_dev, 198 unsigned int dram_data_bus_width_bytes); 199 #else 200 static inline int tegra_icc_mc_setup_interconnect(struct tegra_mc *mc);Quoted 9 lines
Quoted 1 line
201 {
202 return 0; 203 } 204---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
Quoted 4 lines
Just want to point out that we fixed this problem locally sometime ago.
Also, Thierry was asking to make the interconnect usage mandatory for Tegra, so the ifdef may be removed in v2.
Ok, thanks for the update. I have quickly glanced through the patches, but i plan to take a closer look at the v2, when you get a chance to post it.
BR,
Georgi