Re: [PATCH] PCI: qcom: Add register dump support for PCIe Link Down events

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci
Message-ID <[email protected]>
Hi Krishna,

kernel test robot noticed the following build warnings:

[auto build test WARNING on d55d5a8f3d852baab49dba910dcb04b6d8091b05]

url:    https://github.com/intel-lab-lkp/linux/commits/Krishna-Chaitanya-Chundru/PCI-qcom-Add-register-dump-support-for-PCIe-Link-Down-events/20260811-214223
base:   d55d5a8f3d852baab49dba910dcb04b6d8091b05
patch link:    https://lore.kernel.org/r/20260811-regdump-v1-1-f22db3fb37c2%40oss.qualcomm.com
patch subject: [PATCH] PCI: qcom: Add register dump support for PCIe Link Down events
config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260820/[email protected]/config)
compiler: powerpc64-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260820/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> drivers/pci/controller/dwc/pcie-qcom.c:220:18: warning: 'qcom_pcie_ext_parf_dump_regs' defined but not used [-Wunused-const-variable=]
     220 | static const u32 qcom_pcie_ext_parf_dump_regs[] = {
         |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/qcom_pcie_ext_parf_dump_regs +220 drivers/pci/controller/dwc/pcie-qcom.c

   219	
 > 220	static const u32 qcom_pcie_ext_parf_dump_regs[] = {
   221		PARF_PM_STTS,
   222		PARF_PM_STTS_1,
   223		PARF_INT_ALL_STATUS,
   224		PARF_INT_ALL_2_STATUS,
   225		PARF_CLKREQ_OVERRIDE,
   226		PARF_L1SS_SLEEP_MODE_HANDLER_STATUS,
   227		PARF_L1SS_SLEEP_MODE_HANDLER_CFG,
   228		PARF_CORE_ERRORS,
   229		PARF_LINK_DOWN_AXI_ECAM_BLOCK_STATUS,
   230		PARF_STATUS,
   231		PARF_SYS_CTRL,
   232	};
   233	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.