* [kvm:master 22/22] arch/x86/kvm/x86.c:992:19: error: unused function 'kvm_guest_supported_xfd'
@ 2022-02-17 23:12 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-17 23:12 UTC (permalink / raw)
To: Leonardo Bras
Cc: llvm, kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei,
Paolo Bonzini
tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git master
head: 988896bb61827345c6d074dd5f2af1b7b008193f
commit: 988896bb61827345c6d074dd5f2af1b7b008193f [22/22] x86/kvm/fpu: Remove kvm_vcpu_arch.guest_supported_xcr0
config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220218/202202180700.dnGoHs4Z-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=988896bb61827345c6d074dd5f2af1b7b008193f
git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
git fetch --no-tags kvm master
git checkout 988896bb61827345c6d074dd5f2af1b7b008193f
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> arch/x86/kvm/x86.c:992:19: error: unused function 'kvm_guest_supported_xfd' [-Werror,-Wunused-function]
static inline u64 kvm_guest_supported_xfd(struct kvm_vcpu *vcpu)
^
arch/x86/kvm/x86.c:2364:19: error: unused function 'gtod_is_based_on_tsc' [-Werror,-Wunused-function]
static inline int gtod_is_based_on_tsc(int mode)
^
2 errors generated.
vim +/kvm_guest_supported_xfd +992 arch/x86/kvm/x86.c
991
> 992 static inline u64 kvm_guest_supported_xfd(struct kvm_vcpu *vcpu)
993 {
994 return kvm_guest_supported_xcr0(vcpu) & XFEATURE_MASK_USER_DYNAMIC;
995 }
996
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-17 23:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-17 23:12 [kvm:master 22/22] arch/x86/kvm/x86.c:992:19: error: unused function 'kvm_guest_supported_xfd' 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