public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH v2 2/4] LongArch: KVM: Add DINTC device support
       [not found] <20251128091125.2720148-3-gaosong@loongson.cn>
@ 2025-12-01 12:18 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-01 12:18 UTC (permalink / raw)
  To: Song Gao, maobibo, chenhuacai
  Cc: llvm, oe-kbuild-all, kvm, loongarch, kernel, linux-kernel

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@intel.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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-01 12:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20251128091125.2720148-3-gaosong@loongson.cn>
2025-12-01 12:18 ` [PATCH v2 2/4] LongArch: KVM: Add DINTC device support kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox