linux-ia64.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [aegl:resctrl2_v65 3/4] fs/resctrl2/arch/x86/amd_smba.c:243:32: warning: 'smba_feature' defined but not used
@ 2023-09-08 23:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-09-08 23:05 UTC (permalink / raw)
  To: Tony Luck; +Cc: oe-kbuild-all, linux-ia64

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: i386-randconfig-054-20230909 (https://download.01.org/0day-ci/archive/20230909/202309090740.o2jakl2Y-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230909/202309090740.o2jakl2Y-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309090740.o2jakl2Y-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/resctrl2/arch/x86/amd_smba.c:243:32: warning: 'smba_feature' defined but not used [-Wunused-const-variable=]
     243 | static const struct x86_cpu_id smba_feature[] = {
         |                                ^~~~~~~~~~~~


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	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-08 23:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-08 23:05 [aegl:resctrl2_v65 3/4] fs/resctrl2/arch/x86/amd_smba.c:243:32: warning: 'smba_feature' defined but not used kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).