Re: [PATCH v1] virt: acrn: Fix irqfd use-after-free during async shutdown

From: kernel test robot

Date: Fri May 15 2026 - 04:49:05 EST


Hi Sicong,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v7.1-rc3 next-20260508]
[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/Sicong-Huang/virt-acrn-Fix-irqfd-use-after-free-during-async-shutdown/20260515-063914
base: linus/master
patch link: https://lore.kernel.org/r/20260511135737.2285411-1-congei42%40163.com
patch subject: [PATCH v1] virt: acrn: Fix irqfd use-after-free during async shutdown
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20260515/202605151636.lR13SqEN-lkp@xxxxxxxxx/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605151636.lR13SqEN-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/202605151636.lR13SqEN-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/virt/acrn/irqfd.c:232:28: warning: unused variable 'next' [-Wunused-variable]
232 | struct hsm_irqfd *irqfd, *next;
| ^~~~
1 warning generated.


vim +/next +232 drivers/virt/acrn/irqfd.c

aa3b483ff1d71c5 Shuo Liu 2021-02-07 229
aa3b483ff1d71c5 Shuo Liu 2021-02-07 230 void acrn_irqfd_deinit(struct acrn_vm *vm)
aa3b483ff1d71c5 Shuo Liu 2021-02-07 231 {
aa3b483ff1d71c5 Shuo Liu 2021-02-07 @232 struct hsm_irqfd *irqfd, *next;

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