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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202512011848.uhe7LBBn-lkp@intel.com>
Date: Mon, 1 Dec 2025 20:18:44 +0800
From: kernel test robot <lkp@...el.com>
To: Song Gao <gaosong@...ngson.cn>, maobibo@...ngson.cn,
	chenhuacai@...nel.org
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	kvm@...r.kernel.org, loongarch@...ts.linux.dev, kernel@...0n.name,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] LongArch: KVM: Add DINTC device support

Hi Song,

kernel test robot noticed the following build warnings:

[auto build test WARNING on next-20251128]
[also build test WARNING on v6.18]
[cannot apply to kvm/queue kvm/next tip/irq/core mst-vhost/linux-next linus/master kvm/linux-next v6.18-rc7 v6.18-rc6 v6.18-rc5]
[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#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Song-Gao/LongArch-KVM-Add-some-maccros-for-AVEC/20251128-173944
base:   next-20251128
patch link:    https://lore.kernel.org/r/20251128091125.2720148-3-gaosong%40loongson.cn
patch subject: [PATCH v2 2/4] LongArch: KVM: Add DINTC device support
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20251201/202512011848.uhe7LBBn-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251201/202512011848.uhe7LBBn-lkp@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512011848.uhe7LBBn-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/loongarch/kvm/intc/dintc.c:93:14: warning: unused variable 'kvm' [-Wunused-variable]
      93 |         struct kvm *kvm;
         |                     ^~~
>> arch/loongarch/kvm/intc/dintc.c:94:26: warning: unused variable 'dintc' [-Wunused-variable]
      94 |         struct loongarch_dintc *dintc;
         |                                 ^~~~~
   2 warnings generated.


vim +/kvm +93 arch/loongarch/kvm/intc/dintc.c

    90	
    91	static void kvm_dintc_destroy(struct kvm_device *dev)
    92	{
  > 93		struct kvm *kvm;
  > 94		struct loongarch_dintc *dintc;
    95	
    96		if (!dev || !dev->kvm || !dev->kvm->arch.dintc)
    97			return;
    98	
    99		kfree(dev->kvm->arch.dintc);
   100	}
   101	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ