[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/5 v4] KVM: SVM: Fill in conforming svm_x86_ops via macro

From: kernel test robot
Subject: Re: [PATCH 2/5 v4] KVM: SVM: Fill in conforming svm_x86_ops via macro
Date: Tue, 10 Nov 2020 11:56:16 +0800
User-agent: Mutt/1.10.1 (2018-07-13)

Hi Krish,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on linus/master]
[also build test WARNING on v5.10-rc3 next-20201109]
[cannot apply to vhost/linux-next kvmarm/next kvm/linux-next kvms390/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in

base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review 
        git checkout 26275e3a7e11da29dc47a214b3938e7261c61ec7
        # save the attached .config to linux build tree
        make W=1 ARCH=i386 

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 >>):

>> arch/x86/kvm/svm/svm.c:1651:6: warning: no previous prototype for 
>> 'svm_get_cs_db_l_bits' [-Wmissing-prototypes]
    1651 | void svm_get_cs_db_l_bits(struct kvm_vcpu *vcpu, int *db, int *l)
         |      ^~~~~~~~~~~~~~~~~~~~
>> arch/x86/kvm/svm/svm.c:3372:6: warning: no previous prototype for 
>> 'svm_tlb_flush_all' [-Wmissing-prototypes]
    3372 | void svm_tlb_flush_all(struct kvm_vcpu *vcpu)
         |      ^~~~~~~~~~~~~~~~~
>> arch/x86/kvm/svm/svm.c:3377:6: warning: no previous prototype for 
>> 'svm_tlb_flush_current' [-Wmissing-prototypes]
    3377 | void svm_tlb_flush_current(struct kvm_vcpu *vcpu)
         |      ^~~~~~~~~~~~~~~~~~~~~
>> arch/x86/kvm/svm/svm.c:3382:6: warning: no previous prototype for 
>> 'svm_tlb_flush_guest' [-Wmissing-prototypes]
    3382 | void svm_tlb_flush_guest(struct kvm_vcpu *vcpu)
         |      ^~~~~~~~~~~~~~~~~~~

vim +/svm_get_cs_db_l_bits +1651 arch/x86/kvm/svm/svm.c

> 1651  void svm_get_cs_db_l_bits(struct kvm_vcpu *vcpu, int *db, int *l)
  1652  {
  1653          struct kvm_segment cs;
  1655          kvm_get_segment(vcpu, &cs, VCPU_SREG_CS);
  1656          *db = cs.db;
  1657          *l = cs.l;
  1658  }

0-DAY CI Kernel Test Service, Intel Corporation

Attachment: .config.gz
Description: application/gzip

reply via email to

[Prev in Thread] Current Thread [Next in Thread]