Hi Kishon,
FYI, the error/warning still remains.
tree:
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.4.y
head: 25f5e0f6cd6fe189acc94eabcf0a33810787bc22
commit: bbd60c1753ae4cecfd562d683419ddddc184fddd [3067/10775] PCI: endpoint: Add
"pci-epf-bus" driver
config: x86_64-randconfig-r033-20201014 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
e7fe3c6dfede8d5781bd000741c3dea7088307a4)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add ti
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-linux-5.4.y
git checkout bbd60c1753ae4cecfd562d683419ddddc184fddd
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/pci/endpoint/pci-epf-bus.c:36:34: warning: unused
variable 'pci_epf_bus_id_table' [-Wunused-const-variable]
static const
struct of_device_id pci_epf_bus_id_table[] = {
^
1 warning generated.
vim +/pci_epf_bus_id_table +36 drivers/pci/endpoint/pci-epf-bus.c
35
36 static const struct of_device_id pci_epf_bus_id_table[] = {
37 { .compatible = "pci-epf-bus" },
38 {}
39 };
40 MODULE_DEVICE_TABLE(of, pci_epf_bus_id_table);
41
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org