Re: [PATCH v8 01/15] PCI/TSM: Move core code into its own directory
From: kernel test robot
Date: Thu Nov 05 2026 - 07:30:37 EST
Hi Aneesh,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4]
url: https://github.com/intel-lab-lkp/linux/commits/Aneesh-Kumar-K-V-Arm/PCI-TSM-Move-core-code-into-its-own-directory/20261104-214618
base: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
patch link: https://lore.kernel.org/r/20261104161632.3547423-2-aneesh.kumar%40kernel.org
patch subject: [PATCH v8 01/15] PCI/TSM: Move core code into its own directory
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20261105/202611052018.S2OsLHjD-lkp@xxxxxxxxx/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 812626a41399a1d464a0d69627ab45c83b8ebfb9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261105/202611052018.S2OsLHjD-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/202611052018.S2OsLHjD-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/pci/tsm/core.c:31:12: warning: variable 'pci_tsm_devsec_count' set but not used [-Wunused-but-set-global]
31 | static int pci_tsm_devsec_count;
| ^
1 warning generated.
vim +/pci_tsm_devsec_count +31 drivers/pci/tsm/core.c
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 25
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 26 /*
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 27 * Count of TSMs registered that support physical link operations vs device
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 28 * security state management.
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 29 */
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 30 static int pci_tsm_link_count;
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 @31 static int pci_tsm_devsec_count;
3225f52cde56f4 drivers/pci/tsm.c Dan Williams 2025-10-31 32
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki