Re: [PATCH 2/4] KVM: VFIO: use mutex guard in kvm_vfio_file_set_spapr_tce()
From: Carlos López
Date: Fri Apr 17 2026 - 06:16:26 EST
On 4/7/26 5:48 AM, kernel test robot wrote:
> Hi Carlos,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on d2ea4ff1ce50787a98a3900b3fb1636f3620b7cf]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Carlos-L-pez/KVM-VFIO-clean-up-control-flow-in-kvm_vfio_file_add/20260314-053050
> base: d2ea4ff1ce50787a98a3900b3fb1636f3620b7cf
> patch link: https://lore.kernel.org/r/20260313122040.1413091-5-clopez%40suse.de
> patch subject: [PATCH 2/4] KVM: VFIO: use mutex guard in kvm_vfio_file_set_spapr_tce()
> config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20260403/202604031640.vckbuS2S-lkp@xxxxxxxxx/config)
> compiler: powerpc64-linux-gcc (GCC) 15.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260403/202604031640.vckbuS2S-lkp@xxxxxxxxx/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@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202604031640.vckbuS2S-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>):
>
> arch/powerpc/kvm/../../../virt/kvm/vfio.c: In function 'kvm_vfio_file_set_spapr_tce':
>>> arch/powerpc/kvm/../../../virt/kvm/vfio.c:219:13: warning: unused variable 'ret' [-Wunused-variable]
> 219 | int ret;
> | ^~~
>
Sean, should I send a v2 for this or will you fix it up when applying?
Thanks,
Carlos