Re: [PATCH] vdpa/vp_vdpa: implement kick_vq_with_data callback
From: kernel test robot
Date: Mon Dec 02 2024 - 07:25:20 EST
Hi Yuxue,
kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.13-rc1 next-20241128]
[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/Yuxue-Liu-yuxue-liu-jaguarmicro-com/vdpa-vp_vdpa-implement-kick_vq_with_data-callback/20241202-114053
base: linus/master
patch link: https://lore.kernel.org/r/20241202033611.1374-1-yuxue.liu%40jaguarmicro.com
patch subject: [PATCH] vdpa/vp_vdpa: implement kick_vq_with_data callback
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20241202/202412021926.Sg38msHn-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241202/202412021926.Sg38msHn-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/202412021926.Sg38msHn-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/vdpa/virtio_pci/vp_vdpa.c: In function 'vp_vdpa_kick_vq_with_data':
>> drivers/vdpa/virtio_pci/vp_vdpa.c:372:46: error: 'vdpa' undeclared (first use in this function)
372 | struct vp_vdpa *vp_vdpa = vdpa_to_vp(vdpa);
| ^~~~
drivers/vdpa/virtio_pci/vp_vdpa.c:372:46: note: each undeclared identifier is reported only once for each function it appears in
vim +/vdpa +372 drivers/vdpa/virtio_pci/vp_vdpa.c
369
370 static void vp_vdpa_kick_vq_with_data(struct vdpa_device *vdpa_dev, u32 data)
371 {
> 372 struct vp_vdpa *vp_vdpa = vdpa_to_vp(vdpa);
373 u16 qid = data & 0xFFFF;
374
375 vp_iowrite32(data, vp_vdpa->vring[qid].notify);
376 }
377
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki