From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B8F122C82 for ; Thu, 25 Nov 2021 20:50:54 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6200,9189,10179"; a="215592515" X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="215592515" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2021 12:50:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,263,1631602800"; d="scan'208";a="457484987" Received: from lkp-server02.sh.intel.com (HELO 9e1e9f9b3bcb) ([10.239.97.151]) by orsmga003.jf.intel.com with ESMTP; 25 Nov 2021 12:50:51 -0800 Received: from kbuild by 9e1e9f9b3bcb with local (Exim 4.92) (envelope-from ) id 1mqLhj-0006ut-6y; Thu, 25 Nov 2021 20:50:51 +0000 Date: Fri, 26 Nov 2021 04:50:19 +0800 From: kernel test robot To: Arnd Bergmann Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , Robert Richter Subject: drivers/pci/controller/pci-xgene.c:626:34: warning: unused variable 'xgene_pcie_match_table' Message-ID: <202111260409.W9j5FDps-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Hi Arnd, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: b501b85957deb17f1fe0a861fee820255519d526 commit: 6e5a1fff9096ecd259dedcbbdc812aa90986a40e PCI: Avoid building empty drivers date: 9 months ago config: x86_64-buildonly-randconfig-r003-20211118 (https://download.01.org/0day-ci/archive/20211126/202111260409.W9j5FDps-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46becf500df2a7fb4b4fce16178a036c344315a) 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/torvalds/linux.git/commit/?id=6e5a1fff9096ecd259dedcbbdc812aa90986a40e git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 6e5a1fff9096ecd259dedcbbdc812aa90986a40e # save the config file to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/pci/controller/pci-xgene.c:626:34: warning: unused variable 'xgene_pcie_match_table' [-Wunused-const-variable] static const struct of_device_id xgene_pcie_match_table[] = { ^ 1 warning generated. vim +/xgene_pcie_match_table +626 drivers/pci/controller/pci-xgene.c 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 625 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 @626 static const struct of_device_id xgene_pcie_match_table[] = { 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 627 {.compatible = "apm,xgene-pcie",}, 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 628 {}, 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 629 }; 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 630 :::::: The code at line 626 was first introduced by commit :::::: 5f6b6ccdbe1cdfa5aa4347ec5412509b8995db27 PCI: xgene: Add APM X-Gene PCIe driver :::::: TO: Tanmay Inamdar :::::: CC: Bjorn Helgaas --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9138444869495891521==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: drivers/pci/controller/pci-xgene.c:626:34: warning: unused variable 'xgene_pcie_match_table' Date: Fri, 26 Nov 2021 04:50:19 +0800 Message-ID: <202111260409.W9j5FDps-lkp@intel.com> List-Id: --===============9138444869495891521== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Arnd, First bad commit (maybe !=3D root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: b501b85957deb17f1fe0a861fee820255519d526 commit: 6e5a1fff9096ecd259dedcbbdc812aa90986a40e PCI: Avoid building empty = drivers date: 9 months ago config: x86_64-buildonly-randconfig-r003-20211118 (https://download.01.org/= 0day-ci/archive/20211126/202111260409.W9j5FDps-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project c46bec= f500df2a7fb4b4fce16178a036c344315a) reproduce (this is a W=3D1 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/torvalds/linux.gi= t/commit/?id=3D6e5a1fff9096ecd259dedcbbdc812aa90986a40e git remote add linus https://git.kernel.org/pub/scm/linux/kernel/gi= t/torvalds/linux.git git fetch --no-tags linus master git checkout 6e5a1fff9096ecd259dedcbbdc812aa90986a40e # save the config file to linux build tree COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 ARCH=3Dx86_64 = If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/pci/controller/pci-xgene.c:626:34: warning: unused variable 'xge= ne_pcie_match_table' [-Wunused-const-variable] static const struct of_device_id xgene_pcie_match_table[] =3D { ^ 1 warning generated. vim +/xgene_pcie_match_table +626 drivers/pci/controller/pci-xgene.c 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 625 = 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 @626 = static const struct of_device_id xgene_pcie_match_table[] =3D { 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 627 = {.compatible =3D "apm,xgene-pcie",}, 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 628 = {}, 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 629 = }; 5f6b6ccdbe1cdf drivers/pci/host/pci-xgene.c Tanmay Inamdar 2014-10-01 630 = :::::: The code at line 626 was first introduced by commit :::::: 5f6b6ccdbe1cdfa5aa4347ec5412509b8995db27 PCI: xgene: Add APM X-Gene = PCIe driver :::::: TO: Tanmay Inamdar :::::: CC: Bjorn Helgaas --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============9138444869495891521==--