[mst-vhost:vhost 29/35] drivers/virtio/virtio_ring.c:2103:22: sparse: sparse: symbol 'packed_ops' was not declared. Should it be static?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head:   f640220b1e149add1dff0be2978905c5df628eaf
commit: 92ec21878c59083a95c9fcf1a10f86d29350ce1b [29/35] virtio_ring: introduce virtqueue ops
config: arc-randconfig-r132-20250519 (https://download.01.org/0day-ci/archive/20250520/202505200015.m6vjyLRy-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 10.5.0
reproduce: (https://download.01.org/0day-ci/archive/20250520/202505200015.m6vjyLRy-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/202505200015.m6vjyLRy-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/virtio/virtio_ring.c:2103:22: sparse: sparse: symbol 'packed_ops' was not declared. Should it be static?

vim +/packed_ops +2103 drivers/virtio/virtio_ring.c

  2102	
> 2103	struct virtqueue_ops packed_ops;
  2104	

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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux