public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [aegl:resctrl2_v65rc1 11/11] fs/resctrl2/arch/x86/rdt_l2_cdp.c:85:13: warning: variable 'cache_level' set but not used
@ 2023-07-18  4:55 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-18  4:55 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_v65rc1
head:   16f9fb3b3a3875cdb7f611d60e5072ed15feec27
commit: 16f9fb3b3a3875cdb7f611d60e5072ed15feec27 [11/11] resctrl2: Fix name collision on get_cache_size()
config: i386-randconfig-r006-20230718 (https://download.01.org/0day-ci/archive/20230718/202307181221.bYTu62iK-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230718/202307181221.bYTu62iK-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/202307181221.bYTu62iK-lkp@intel.com/

All warnings (new ones prefixed by >>):

   fs/resctrl2/arch/x86/rdt_l2_cdp.c: In function 'get_cache_slice_size':
>> fs/resctrl2/arch/x86/rdt_l2_cdp.c:85:13: warning: variable 'cache_level' set but not used [-Wunused-but-set-variable]
      85 |         int cache_level;
         |             ^~~~~~~~~~~
--
   fs/resctrl2/arch/x86/rdt_l3_cdp.c: In function 'get_cache_slice_size':
>> fs/resctrl2/arch/x86/rdt_l3_cdp.c:85:13: warning: variable 'cache_level' set but not used [-Wunused-but-set-variable]
      85 |         int cache_level;
         |             ^~~~~~~~~~~
--
   fs/resctrl2/arch/x86/rdt_l3_cat.c: In function 'get_cache_slice_size':
>> fs/resctrl2/arch/x86/rdt_l3_cat.c:85:13: warning: variable 'cache_level' set but not used [-Wunused-but-set-variable]
      85 |         int cache_level;
         |             ^~~~~~~~~~~
--
   fs/resctrl2/arch/x86/rdt_l2_cat.c: In function 'get_cache_slice_size':
>> fs/resctrl2/arch/x86/rdt_l2_cat.c:85:13: warning: variable 'cache_level' set but not used [-Wunused-but-set-variable]
      85 |         int cache_level;
         |             ^~~~~~~~~~~


vim +/cache_level +85 fs/resctrl2/arch/x86/rdt_l2_cdp.c

-- 
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-07-18  4:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18  4:55 [aegl:resctrl2_v65rc1 11/11] fs/resctrl2/arch/x86/rdt_l2_cdp.c:85:13: warning: variable 'cache_level' set 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