Re: [PATCH v2] PCI/ASPM: Mask ASPM states based on Devicetree properties

From: kernel test robot

Date: Wed Jun 24 2026 - 11:49:07 EST


Hi Krishna,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 840ef6c78e6a2f694b578ecb9063241c992aaa9e]

url: https://github.com/intel-lab-lkp/linux/commits/Krishna-Chaitanya-Chundru/PCI-ASPM-Mask-ASPM-states-based-on-Devicetree-properties/20260624-181628
base: 840ef6c78e6a2f694b578ecb9063241c992aaa9e
patch link: https://lore.kernel.org/r/20260624-aspm-v2-1-800a4151ba3a%40oss.qualcomm.com
patch subject: [PATCH v2] PCI/ASPM: Mask ASPM states based on Devicetree properties
config: x86_64-buildonly-randconfig-006-20260624 (https://download.01.org/0day-ci/archive/20260624/202606242330.Ab9bKFmk-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260624/202606242330.Ab9bKFmk-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606242330.Ab9bKFmk-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/pci/pcie/aspm.c:30:13: warning: 'pcie_config_aspm_l1ss' declared 'static' but never defined [-Wunused-function]
30 | static void pcie_config_aspm_l1ss(struct pcie_link_state *link, u32 state);
| ^~~~~~~~~~~~~~~~~~~~~


vim +30 drivers/pci/pcie/aspm.c

29
> 30 static void pcie_config_aspm_l1ss(struct pcie_link_state *link, u32 state);
31

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki