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

From: kernel test robot
Date: Wed Aug 04 2021 - 10:26:56 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/abelvesa/linux.git imx8mq/icc_devfreq
head: 9fd5dfcec728b6eab0a8c187727cb2558ad6ffb0
commit: 3b520752a05f9df5deb38fbbbb6962dd21868115 [9/20] interconnect: imx8: Remove the imx_icc_node_adj_desc
config: h8300-randconfig-r013-20210804 (attached as .config)
compiler: h8300-linux-gcc (GCC) 10.3.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=3b520752a05f9df5deb38fbbbb6962dd21868115
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 3b520752a05f9df5deb38fbbbb6962dd21868115
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/interconnect/imx/

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:25: error: expected '}' before numeric constant
11 | #define IMX8MN_ICN_NOC 1
| ^
drivers/interconnect/imx/imx.h:33:9: note: in definition of macro 'DEFINE_BUS_INTERCONNECT'
33 | .id = _id, \
| ^~~
drivers/interconnect/imx/imx8mn.c:58:4: note: in expansion of macro 'IMX8MN_ICN_NOC'
58 | IMX8MN_ICN_NOC, IMX8MN_ICS_OCRAM),
| ^~~~~~~~~~~~~~
drivers/interconnect/imx/imx.h:32:2: note: to match this '{'
32 | { \
| ^
drivers/interconnect/imx/imx8mn.c:57:2: 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