[linux-chenxing:mstar_v5_14_rebase 288/352] drivers/misc/dt-dummy-irq.c:67:25: error: use of undeclared identifier 'msc313_fcie_dt_ids'

From: kernel test robot
Date: Mon Jul 19 2021 - 11:46:38 EST


tree: git://github.com/linux-chenxing/linux.git mstar_v5_14_rebase
head: 651efd0e52f225e60faa8b30f9768021e2104d3c
commit: 150cb3fe40c8af3343a0dbf0b5826a98a457c325 [288/352] Create a dummy irq driver
config: powerpc-randconfig-r006-20210719 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
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
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/linux-chenxing/linux/commit/150cb3fe40c8af3343a0dbf0b5826a98a457c325
git remote add linux-chenxing git://github.com/linux-chenxing/linux.git
git fetch --no-tags linux-chenxing mstar_v5_14_rebase
git checkout 150cb3fe40c8af3343a0dbf0b5826a98a457c325
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/misc/

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

All errors (new ones prefixed by >>):

>> drivers/misc/dt-dummy-irq.c:67:25: error: use of undeclared identifier 'msc313_fcie_dt_ids'
MODULE_DEVICE_TABLE(of, msc313_fcie_dt_ids);
^
1 error generated.


vim +/msc313_fcie_dt_ids +67 drivers/misc/dt-dummy-irq.c

62
63 static const struct of_device_id dummy_dt_ids[] = {
64 { .compatible = "dummy-irq" },
65 {},
66 };
> 67 MODULE_DEVICE_TABLE(of, msc313_fcie_dt_ids);
68

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

Attachment: .config.gz
Description: application/gzip