[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107192326.zhMFzcpC-lkp@intel.com>
Date: Mon, 19 Jul 2021 23:21:34 +0800
From: kernel test robot <lkp@...el.com>
To: Daniel Palmer <daniel@...f.com>
Cc: clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [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'
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@...el.com>
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@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (34589 bytes)
Powered by blists - more mailing lists