public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm:nested-svm 79/95] arch/x86/kvm/vmx/vmx.c:5649:12: error: conflicting types for 'handle_bus_lock'
@ 2021-02-02 22:06 kernel test robot
  2021-02-03  7:41 ` Paolo Bonzini
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-02-02 22:06 UTC (permalink / raw)
  To: Fenghua Yu
  Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei,
	Paolo Bonzini, Tony Luck

[-- Attachment #1: Type: text/plain, Size: 2425 bytes --]

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git nested-svm
head:   47fb7f6e83e4517e5b43345c1ee0c738263d933b
commit: a82a8fa7038222fd4ca556810c278871aa985a6e [79/95] x86/bus_lock: Handle warn and fatal in #DB for bus lock
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=a82a8fa7038222fd4ca556810c278871aa985a6e
        git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
        git fetch --no-tags kvm nested-svm
        git checkout a82a8fa7038222fd4ca556810c278871aa985a6e
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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/vmx/vmx.c:5649:12: error: conflicting types for 'handle_bus_lock'
    5649 | static int handle_bus_lock(struct kvm_vcpu *vcpu)
         |            ^~~~~~~~~~~~~~~
   In file included from arch/x86/kvm/vmx/vmx.c:34:
   arch/x86/include/asm/cpu.h:48:13: note: previous declaration of 'handle_bus_lock' was here
      48 | extern bool handle_bus_lock(struct pt_regs *regs);
         |             ^~~~~~~~~~~~~~~


vim +/handle_bus_lock +5649 arch/x86/kvm/vmx/vmx.c

e7953d7fab47a7 arch/x86/kvm/vmx.c     Abel Gordon  2013-04-18  5648  
1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 @5649  static int handle_bus_lock(struct kvm_vcpu *vcpu)
1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5650  {
1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5651  	vcpu->run->exit_reason = KVM_EXIT_X86_BUS_LOCK;
1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5652  	vcpu->run->flags |= KVM_RUN_X86_BUS_LOCK;
1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5653  	return 0;
1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5654  }
1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5655  

:::::: The code at line 5649 was first introduced by commit
:::::: 1b054f0054cf1bcd4979073e285c8ab53c331480 KVM: VMX: Enable bus lock VM exit

:::::: TO: Chenyi Qiang <chenyi.qiang@intel.com>
:::::: CC: Paolo Bonzini <pbonzini@redhat.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 65025 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [kvm:nested-svm 79/95] arch/x86/kvm/vmx/vmx.c:5649:12: error: conflicting types for 'handle_bus_lock'
  2021-02-02 22:06 [kvm:nested-svm 79/95] arch/x86/kvm/vmx/vmx.c:5649:12: error: conflicting types for 'handle_bus_lock' kernel test robot
@ 2021-02-03  7:41 ` Paolo Bonzini
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2021-02-03  7:41 UTC (permalink / raw)
  To: kernel test robot, Fenghua Yu
  Cc: kbuild-all, kvm, Robert Hu, Farrah Chen, Danmei Wei, Tony Luck

On 02/02/21 23:06, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git nested-svm
> head:   47fb7f6e83e4517e5b43345c1ee0c738263d933b
> commit: a82a8fa7038222fd4ca556810c278871aa985a6e [79/95] x86/bus_lock: Handle warn and fatal in #DB for bus lock
> config: x86_64-allyesconfig (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
> reproduce (this is a W=1 build):
>          # https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=a82a8fa7038222fd4ca556810c278871aa985a6e
>          git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
>          git fetch --no-tags kvm nested-svm
>          git checkout a82a8fa7038222fd4ca556810c278871aa985a6e
>          # save the attached .config to linux build tree
>          make W=1 ARCH=x86_64
> 
> 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/vmx/vmx.c:5649:12: error: conflicting types for 'handle_bus_lock'
>      5649 | static int handle_bus_lock(struct kvm_vcpu *vcpu)
>           |            ^~~~~~~~~~~~~~~
>     In file included from arch/x86/kvm/vmx/vmx.c:34:
>     arch/x86/include/asm/cpu.h:48:13: note: previous declaration of 'handle_bus_lock' was here
>        48 | extern bool handle_bus_lock(struct pt_regs *regs);
>           |             ^~~~~~~~~~~~~~~
> 
> 
> vim +/handle_bus_lock +5649 arch/x86/kvm/vmx/vmx.c
> 
> e7953d7fab47a7 arch/x86/kvm/vmx.c     Abel Gordon  2013-04-18  5648
> 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06 @5649  static int handle_bus_lock(struct kvm_vcpu *vcpu)
> 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5650  {
> 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5651  	vcpu->run->exit_reason = KVM_EXIT_X86_BUS_LOCK;
> 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5652  	vcpu->run->flags |= KVM_RUN_X86_BUS_LOCK;
> 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5653  	return 0;
> 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5654  }
> 1b054f0054cf1b arch/x86/kvm/vmx/vmx.c Chenyi Qiang 2020-11-06  5655
> 
> :::::: The code at line 5649 was first introduced by commit
> :::::: 1b054f0054cf1bcd4979073e285c8ab53c331480 KVM: VMX: Enable bus lock VM exit
> 
> :::::: TO: Chenyi Qiang <chenyi.qiang@intel.com>
> :::::: CC: Paolo Bonzini <pbonzini@redhat.com>
> 
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
> 

Fixed.

Paolo


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-03  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-02 22:06 [kvm:nested-svm 79/95] arch/x86/kvm/vmx/vmx.c:5649:12: error: conflicting types for 'handle_bus_lock' kernel test robot
2021-02-03  7:41 ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox