lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202011101130.Xz7pfjcL-lkp@intel.com>
Date:   Tue, 10 Nov 2020 11:56:16 +0800
From:   kernel test robot <lkp@...el.com>
To:     Tom Lendacky <thomas.lendacky@....com>, kvm@...r.kernel.org,
        linux-kernel@...r.kernel.org, x86@...nel.org
Cc:     kbuild-all@...ts.01.org, Paolo Bonzini <pbonzini@...hat.com>,
        Jim Mattson <jmattson@...gle.com>,
        Joerg Roedel <joro@...tes.org>,
        Sean Christopherson <sean.j.christopherson@...el.com>,
        Vitaly Kuznetsov <vkuznets@...hat.com>,
        Wanpeng Li <wanpengli@...cent.com>,
        Borislav Petkov <bp@...en8.de>
Subject: Re: [PATCH v3 19/34] KVM: SVM: Support string IO operations for an
 SEV-ES guest

Hi Tom,

I love your patch! Perhaps something to improve:

[auto build test WARNING on tip/master]
[also build test WARNING on v5.10-rc3 next-20201109]
[cannot apply to tip/x86/core vhost/linux-next kvm/linux-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
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Tom-Lendacky/SEV-ES-hypervisor-support/20201110-063133
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git a2445441a132ee5b3e61e6a26c27a3491f4296ef
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/76e00f88dabb9bb211450448389a8bde55412548
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Tom-Lendacky/SEV-ES-hypervisor-support/20201110-063133
        git checkout 76e00f88dabb9bb211450448389a8bde55412548
        # 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@...el.com>

All warnings (new ones prefixed by >>):

   arch/x86/kvm/x86.c: In function 'kvm_sev_es_outs':
>> arch/x86/kvm/x86.c:11370:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
   11370 |  int ret;
         |      ^~~

vim +/ret +11370 arch/x86/kvm/x86.c

 11366	
 11367	static int kvm_sev_es_outs(struct kvm_vcpu *vcpu, unsigned int size,
 11368				   unsigned int port, void *data,  unsigned int count)
 11369	{
 11370		int ret;
 11371	
 11372		ret = emulator_pio_out_emulated(vcpu->arch.emulate_ctxt, size, port,
 11373						data, count);
 11374		vcpu->arch.pio.count = 0;
 11375	
 11376		return 0;
 11377	}
 11378	

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

Download attachment ".config.gz" of type "application/gzip" (75864 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ