From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 7F9E7168 for ; Thu, 6 Jan 2022 16:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1641487047; x=1673023047; h=date:from:to:cc:subject:message-id:mime-version; bh=IY+x5+Bi9WHheE8MaU5V/6TIuVLUykcq99+tMu0sLLY=; b=bQWFYetEj3N8lSftE39hHCQ7T8XSCtJivRpw5k3L4ayGXKHW0EU+DnMh 0MfLQtIerd2XsK2WFbfbw7lqq1ZbRtW0tun6I5QQ69dq0obP1OuLqJwX6 AgsKLyNYU7SSQ8jR46UZklB0etC4VoD+gP7pSxeosHC6CNPjmq9a3/A2X ZuqSKfhlVq4xhtCO4dQaZYaEmpwfWc3lOhBKEozZvvwJbrywwaeyEEXXA J9guC679FxPDzIK2UkcupIpuOZdqLW2GlNmbuGgH++e0QXg+L01UXUWPq KpOz4oiZf97+20J/RmpSEEJ6qFavp0jTHflDK9Nt1nu+crPAlxcSsuz2d Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10217"; a="241505426" X-IronPort-AV: E=Sophos;i="5.88,267,1635231600"; d="scan'208";a="241505426" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2022 08:37:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,267,1635231600"; d="scan'208";a="621571332" Received: from lkp-server01.sh.intel.com (HELO e357b3ef1427) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 06 Jan 2022 08:37:24 -0800 Received: from kbuild by e357b3ef1427 with local (Exim 4.92) (envelope-from ) id 1n5VlU-000Hn4-1Q; Thu, 06 Jan 2022 16:37:24 +0000 Date: Fri, 7 Jan 2022 00:36:36 +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: <202201070057.wNIXLTxV-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: 75acfdb6fd922598a408a0d864486aeb167c1a97 commit: 6e5a1fff9096ecd259dedcbbdc812aa90986a40e PCI: Avoid building empty drivers date: 10 months ago config: x86_64-buildonly-randconfig-r001-20220106 (https://download.01.org/0day-ci/archive/20220107/202201070057.wNIXLTxV-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ca7ffe09dc6e525109e3cd570cc5182ce568be13) 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 mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/pci/controller/ drivers/scsi/ 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="===============8285502577659573558==" 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, 07 Jan 2022 00:36:36 +0800 Message-ID: <202201070057.wNIXLTxV-lkp@intel.com> List-Id: --===============8285502577659573558== 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: 75acfdb6fd922598a408a0d864486aeb167c1a97 commit: 6e5a1fff9096ecd259dedcbbdc812aa90986a40e PCI: Avoid building empty = drivers date: 10 months ago config: x86_64-buildonly-randconfig-r001-20220106 (https://download.01.org/= 0day-ci/archive/20220107/202201070057.wNIXLTxV-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project ca7ffe= 09dc6e525109e3cd570cc5182ce568be13) 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 mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash drivers/pci/controller/ dri= vers/scsi/ 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 --===============8285502577659573558==--