From: kernel test robot <lkp@intel.com>
To: Sean Christopherson <seanjc@google.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [sean-jc:x86/hyperv_no_range_flush 15/15] include/linux/kvm_host.h:1483:19: error: redefinition of 'kvm_arch_flush_remote_tlbs'
Date: Wed, 16 Aug 2023 12:53:31 +0800 [thread overview]
Message-ID: <202308161241.Mi3s7LqF-lkp@intel.com> (raw)
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
next reply other threads:[~2023-08-16 4:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-16 4:53 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-16 2:36 [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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202308161241.Mi3s7LqF-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=seanjc@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.