Skip to contentSkip to conversation

fs/resctrl2/arch/x86/amd_smba.c:243:32: warning: unused variable 'smba_feature'

PATCH kernel test robot 1 participant 1 message Sep 7, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git resctrl2_v65
head:   13c888afbee9f7da0a4a969617dea9889da9d711
commit: 75c85a7905a138996d3d1309cc87798db5979de0 [3/4] resctrl2: AMD Slow Memory Bandwidth Allocation
config: x86_64-randconfig-r011-20230908 (https://download.01.org/0day-ci/archive/20230908/[email protected]/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230908/[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 >>):

>> fs/resctrl2/arch/x86/amd_smba.c:243:32: warning: unused variable 'smba_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id smba_feature[] = {
                                  ^

1 warning generated.

vim +/smba_feature +243 fs/resctrl2/arch/x86/amd_smba.c

242

 > 243	static const struct x86_cpu_id smba_feature[] = {

244 X86_MATCH_FEATURE(X86_FEATURE_SMBA, 0),
245 { },
246 };
247 MODULE_DEVICE_TABLE(x86cpu, smba_feature);
248

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