* [sean-jc:x86/hyperv_no_range_flush 15/15] include/linux/kvm_host.h:1483:19: error: redefinition of 'kvm_arch_flush_remote_tlbs'
@ 2023-08-16 4:53 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-08-16 4:53 UTC (permalink / raw)
To: Sean Christopherson; +Cc: llvm, oe-kbuild-all
tree: https://github.com/sean-jc/linux x86/hyperv_no_range_flush
head: f9d65d9f4720ff9339b177fcc9af5a5d9bd43551
commit: f9d65d9f4720ff9339b177fcc9af5a5d9bd43551 [15/15] KVM: x86/mmu: Declare flush_remote_tlbs{_range}() hooks iff HYPERV!=n
config: i386-randconfig-i011-20230816 (https://download.01.org/0day-ci/archive/20230816/202308161241.Mi3s7LqF-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: (https://download.01.org/0day-ci/archive/20230816/202308161241.Mi3s7LqF-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/202308161241.Mi3s7LqF-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/x86/events/intel/core.c:17:
>> include/linux/kvm_host.h:1483:19: error: redefinition of 'kvm_arch_flush_remote_tlbs'
static inline int kvm_arch_flush_remote_tlbs(struct kvm *kvm)
^
arch/x86/include/asm/kvm_host.h:1801:19: note: previous definition is here
static inline int kvm_arch_flush_remote_tlbs(struct kvm *kvm)
^
1 error generated.
vim +/kvm_arch_flush_remote_tlbs +1483 include/linux/kvm_host.h
d89f5eff70a312 Jan Kiszka 2010-11-09 1481
51787fd509e7a7 David Matlack 2023-08-11 1482 #ifndef __KVM_HAVE_ARCH_FLUSH_REMOTE_TLBS
51787fd509e7a7 David Matlack 2023-08-11 @1483 static inline int kvm_arch_flush_remote_tlbs(struct kvm *kvm)
b08660e59dbdb6 Tianyu Lan 2018-07-19 1484 {
b08660e59dbdb6 Tianyu Lan 2018-07-19 1485 return -ENOTSUPP;
b08660e59dbdb6 Tianyu Lan 2018-07-19 1486 }
ccf9fdedfffe97 Raghavendra Rao Ananta 2023-08-11 1487 #else
ccf9fdedfffe97 Raghavendra Rao Ananta 2023-08-11 1488 int kvm_arch_flush_remote_tlbs(struct kvm *kvm);
b08660e59dbdb6 Tianyu Lan 2018-07-19 1489 #endif
b08660e59dbdb6 Tianyu Lan 2018-07-19 1490
:::::: The code at line 1483 was first introduced by commit
:::::: 51787fd509e7a7cee6f0336c173ed757225dcd9f KVM: Rename kvm_arch_flush_remote_tlb() to kvm_arch_flush_remote_tlbs()
:::::: TO: David Matlack <dmatlack@google.com>
:::::: CC: Sean Christopherson <seanjc@google.com>
--
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-08-16 4:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-16 4:53 [sean-jc:x86/hyperv_no_range_flush 15/15] include/linux/kvm_host.h:1483:19: error: redefinition of 'kvm_arch_flush_remote_tlbs' 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;
as well as URLs for NNTP newsgroup(s).