tree: https://gitee.com/openeuler/kernel.git OLK-6.6 head: d68dc6ee371ec5466be9b2d76bdca0b360940adc commit: 35da19c3c6d4b053eba09a0daa6063eae81e928a [1636/1636] LoongArch: KVM: Add PCHPIC read and write functions config: loongarch-randconfig-001-20241213 (https://download.01.org/0day-ci/archive/20241213/202412132352.24cSlwix-lkp@i...) compiler: loongarch64-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241213/202412132352.24cSlwix-lkp@i...)
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/202412132352.24cSlwix-lkp@intel.com/
All warnings (new ones prefixed by >>):
arch/loongarch/kvm/vm.c: In function 'kvm_vm_ioctl_irq_line':
arch/loongarch/kvm/vm.c:115:30: warning: variable 'vcpus' set but not used [-Wunused-but-set-variable]
115 | int type, vcpu, irq, vcpus, val, ret = 0; | ^~~~~
arch/loongarch/kvm/vm.c:115:19: warning: variable 'vcpu' set but not used [-Wunused-but-set-variable]
115 | int type, vcpu, irq, vcpus, val, ret = 0; | ^~~~
vim +/vcpus +115 arch/loongarch/kvm/vm.c
109 110 int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *data, 111 bool line_status) 112 { 113 bool level; 114 struct loongarch_pch_pic *s;
115 int type, vcpu, irq, vcpus, val, ret = 0;