[aegl:resctrl2_v65 2/4] fs/resctrl2/arch/x86/rdt_mbm_local_bytes.c:55:32: warning: unused variable 'mon_feature'

kernel test robot <[email protected]>
Newsgroups gmane.linux.ports.ia64
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git resctrl2_v65
head:   13c888afbee9f7da0a4a969617dea9889da9d711
commit: 48b1b4708de24b0c1dff810db00317c3fdcf7bab [2/4] resctrl2: Arch x86 modules for most of the legacy control/monitor functions
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/rdt_mbm_local_bytes.c:55:32: warning: unused variable 'mon_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id mon_feature[] = {
                                  ^
   1 warning generated.
--
>> fs/resctrl2/arch/x86/rdt_mbm_total_bytes.c:55:32: warning: unused variable 'mon_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id mon_feature[] = {
                                  ^
   1 warning generated.
--
>> fs/resctrl2/arch/x86/rdt_llc_occupancy.c:55:32: warning: unused variable 'mon_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id mon_feature[] = {
                                  ^
   1 warning generated.
--
>> fs/resctrl2/arch/x86/rdt_mbm_total_rate.c:55:32: warning: unused variable 'mon_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id mon_feature[] = {
                                  ^
   1 warning generated.
--
>> fs/resctrl2/arch/x86/rdt_l3_cat.c:571:32: warning: unused variable 'cat_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id cat_feature[] = {
                                  ^
   1 warning generated.
--
>> fs/resctrl2/arch/x86/rdt_l2_cat.c:571:32: warning: unused variable 'cat_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id cat_feature[] = {
                                  ^
   1 warning generated.
--
>> fs/resctrl2/arch/x86/rdt_l3_mba.c:247:32: warning: unused variable 'mba_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id mba_feature[] = {
                                  ^
   1 warning generated.
--
>> fs/resctrl2/arch/x86/rdt_mbm_local_rate.c:55:32: warning: unused variable 'mon_feature' [-Wunused-const-variable]
   static const struct x86_cpu_id mon_feature[] = {
                                  ^
   1 warning generated.


vim +/mon_feature +55 fs/resctrl2/arch/x86/rdt_mbm_local_bytes.c

-- 
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.