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: bf0b43568bb5b401970127e59bbbc7921cebe6d2 commit: bbd60c1753ae4cecfd562d683419ddddc184fddd [3067/6498] PCI: endpoint: Add "pci-epf-bus" driver config: x86_64-randconfig-r002-20200531 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5) 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 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: kbuild test robot All warnings (new ones prefixed by >>, old 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(a)lists.01.org