[abelvesa:imx8mq/icc_devfreq 7/20] include/dt-bindings/interconnect/imx8mn.h:11:33: error: expected '}' before numeric constant

From: kernel test robot
Date: Wed Oct 27 2021 - 05:10:52 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git imx8mq/icc_devfreq
head: da1d4cf5771f8a72d51290956764e138c98273c2
commit: ad6cfed09afc1dd500469cba2f817e4ca89fc4a2 [7/20] interconnect: imx8: Remove the imx_icc_node_adj_desc
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git/commit/?id=ad6cfed09afc1dd500469cba2f817e4ca89fc4a2
git remote add abelvesa https://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git
git fetch --no-tags abelvesa imx8mq/icc_devfreq
git checkout ad6cfed09afc1dd500469cba2f817e4ca89fc4a2
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from drivers/interconnect/imx/imx8mn.c:12:
>> include/dt-bindings/interconnect/imx8mn.h:11:33: error: expected '}' before numeric constant
11 | #define IMX8MN_ICN_NOC 1
| ^
drivers/interconnect/imx/imx.h:33:23: note: in definition of macro 'DEFINE_BUS_INTERCONNECT'
33 | .id = _id, \
| ^~~
drivers/interconnect/imx/imx8mn.c:58:25: note: in expansion of macro 'IMX8MN_ICN_NOC'
58 | IMX8MN_ICN_NOC, IMX8MN_ICS_OCRAM),
| ^~~~~~~~~~~~~~
drivers/interconnect/imx/imx.h:32:9: note: to match this '{'
32 | { \
| ^
drivers/interconnect/imx/imx8mn.c:57:9: note: in expansion of macro 'DEFINE_BUS_INTERCONNECT'
57 | DEFINE_BUS_INTERCONNECT("PL301_MAIN", IMX8MN_ICN_MAIN
| ^~~~~~~~~~~~~~~~~~~~~~~


vim +11 include/dt-bindings/interconnect/imx8mn.h

4b54bf4763e372 Leonard Crestez 2020-04-28 10
4b54bf4763e372 Leonard Crestez 2020-04-28 @11 #define IMX8MN_ICN_NOC 1
4b54bf4763e372 Leonard Crestez 2020-04-28 12 #define IMX8MN_ICS_DRAM 2
4b54bf4763e372 Leonard Crestez 2020-04-28 13 #define IMX8MN_ICS_OCRAM 3
4b54bf4763e372 Leonard Crestez 2020-04-28 14 #define IMX8MN_ICM_A53 4
4b54bf4763e372 Leonard Crestez 2020-04-28 15

:::::: The code at line 11 was first introduced by commit
:::::: 4b54bf4763e3725dcceaac379df4ef78df3b9fcd interconnect: imx: Add platform driver for imx8mn

:::::: TO: Leonard Crestez <leonard.crestez@xxxxxxx>
:::::: CC: Georgi Djakov <georgi.djakov@xxxxxxxxxx>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip