[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202312251110.VDvI8CSS-lkp@intel.com>
Date: Mon, 25 Dec 2023 11:50:14 +0800
From: kernel test robot <lkp@...el.com>
To: Andi Kleen <ak@...ux.intel.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>
Subject: arch/x86/kernel/kvm.c:70:1: sparse: sparse: symbol
'__pcpu_scope_steal_time' was not declared. Should it be static?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 861deac3b092f37b2c5e6871732f3e11486f7082
commit: 14e581c381b942ce5463a7e61326d8ce1c843be7 x86/kvm: Make steal_time visible
date: 4 years, 8 months ago
config: x86_64-randconfig-122-20231101 (https://download.01.org/0day-ci/archive/20231225/202312251110.VDvI8CSS-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/20231225/202312251110.VDvI8CSS-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312251110.VDvI8CSS-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/x86/kernel/kvm.c:70:1: sparse: sparse: symbol '__pcpu_scope_steal_time' was not declared. Should it be static?
vim +/__pcpu_scope_steal_time +70 arch/x86/kernel/kvm.c
68
69 static DEFINE_PER_CPU_DECRYPTED(struct kvm_vcpu_pv_apf_data, apf_reason) __aligned(64);
> 70 DEFINE_PER_CPU_DECRYPTED(struct kvm_steal_time, steal_time) __aligned(64) __visible;
71 static int has_steal_clock = 0;
72
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists