* [linux-next:master 10989/11651] arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' defined but not used
@ 2022-05-13 14:26 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-13 14:26 UTC (permalink / raw)
To: Like Xu; +Cc: kbuild-all, Linux Memory Management List, Paolo Bonzini
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 1e1b28b936aed946122b4e0991e7144fdbbfd77e
commit: a095df2c5f48f577c75ef183ad35703667a30ce4 [10989/11651] KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counter
config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220513/202205132242.pju6AukG-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a095df2c5f48f577c75ef183ad35703667a30ce4
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout a095df2c5f48f577c75ef183ad35703667a30ce4
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/x86/kvm/x86.c:29:
>> arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' defined but not used [-Wunused-const-variable=]
20 | static const struct x86_cpu_id vmx_icl_pebs_cpu[] = {
| ^~~~~~~~~~~~~~~~
vim +/vmx_icl_pebs_cpu +20 arch/x86/kvm/pmu.h
19
> 20 static const struct x86_cpu_id vmx_icl_pebs_cpu[] = {
21 X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, NULL),
22 X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, NULL),
23 {}
24 };
25
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-05-13 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-13 14:26 [linux-next:master 10989/11651] arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' 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