Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [tip:x86/urgent 1/1] arch/x86/coco/sev/core.c:2170:30: warning: variable 'dummy' set but not used
@ 2025-06-30 18:43 kernel test robot
  2025-06-30 19:27 ` Borislav Petkov
  0 siblings, 1 reply; 5+ messages in thread
From: kernel test robot @ 2025-06-30 18:43 UTC (permalink / raw)
  To: Nikunj A Dadhania
  Cc: llvm, oe-kbuild-all, linux-kernel, x86, Borislav Petkov (AMD)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent
head:   4a35d2b5254af89595fd90dae9ee0c8f990a148d
commit: 4a35d2b5254af89595fd90dae9ee0c8f990a148d [1/1] x86/sev: Use TSC_FACTOR for Secure TSC frequency calculation
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20250701/202507010218.3O5Ge0Xt-lkp@intel.com/config)
compiler: clang version 20.1.7 (https://github.com/llvm/llvm-project 6146a88f60492b520a36f8f8f3231e15f3cc6082)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250701/202507010218.3O5Ge0Xt-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/202507010218.3O5Ge0Xt-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/x86/coco/sev/core.c:2170:30: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    2170 |         unsigned long tsc_freq_mhz, dummy;
         |                                     ^
   1 warning generated.


vim +/dummy +2170 arch/x86/coco/sev/core.c

  2167	
  2168	void __init snp_secure_tsc_init(void)
  2169	{
> 2170		unsigned long tsc_freq_mhz, dummy;

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-02 21:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 18:43 [tip:x86/urgent 1/1] arch/x86/coco/sev/core.c:2170:30: warning: variable 'dummy' set but not used kernel test robot
2025-06-30 19:27 ` Borislav Petkov
2025-07-01 15:06   ` Nathan Chancellor
2025-07-01 15:29     ` Borislav Petkov
2025-07-02 21:02       ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox