tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost
head:   bb59e1f960bd07f70a4b3d8de99bfd8d71835199
commit: 334f48a83105ebe129a660d1ea1a0c29f87d50c7 [34/46] vduse: Temporarily 
disable control queue features
config: x86_64-buildonly-randconfig-r001-20230811 
(https://download.01.org/0day-ci/archive/20230811/202308110712.wcqoog00-...@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git 
ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce: 
(https://download.01.org/0day-ci/archive/20230811/202308110712.wcqoog00-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202308110712.wcqoog00-...@intel.com/

All errors (new ones prefixed by >>):

>> drivers/vdpa/vdpa_user/vduse_dev.c:1812:23: error: use of undeclared 
>> identifier 'VIRTIO_RING_F_INDIRECT_DESC'
                   config->features &= VDUSE_NET_VALID_FEATURES_MASK;
                                       ^
   drivers/vdpa/vdpa_user/vduse_dev.c:66:11: note: expanded from macro 
'VDUSE_NET_VALID_FEATURES_MASK'
            BIT_ULL(VIRTIO_RING_F_INDIRECT_DESC) | \
                    ^
>> drivers/vdpa/vdpa_user/vduse_dev.c:1812:23: error: use of undeclared 
>> identifier 'VIRTIO_F_EVENT_IDX'
   drivers/vdpa/vdpa_user/vduse_dev.c:67:11: note: expanded from macro 
'VDUSE_NET_VALID_FEATURES_MASK'
            BIT_ULL(VIRTIO_F_EVENT_IDX) |          \
                    ^
>> drivers/vdpa/vdpa_user/vduse_dev.c:1812:23: error: use of undeclared 
>> identifier 'VIRTIO_F_IOMMU_PLATFORM'
   drivers/vdpa/vdpa_user/vduse_dev.c:69:11: note: expanded from macro 
'VDUSE_NET_VALID_FEATURES_MASK'
            BIT_ULL(VIRTIO_F_IOMMU_PLATFORM) |     \
                    ^
   drivers/vdpa/vdpa_user/vduse_dev.c:2007:51: warning: shift count >= width of 
type [-Wshift-count-overflow]
           ret = dma_set_mask_and_coherent(&vdev->vdpa.dev, DMA_BIT_MASK(64));
                                                            ^~~~~~~~~~~~~~~~
   include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK'
   #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
                                                        ^ ~~~
   1 warning and 3 errors generated.


vim +/VIRTIO_RING_F_INDIRECT_DESC +1812 drivers/vdpa/vdpa_user/vduse_dev.c

  1804  
  1805  static void vduse_dev_features_filter(struct vduse_dev_config *config)
  1806  {
  1807          /*
  1808           * Temporarily filter out virtio-net's control virtqueue and 
features
  1809           * that depend on it while CVQ is being made more robust for 
VDUSE.
  1810           */
  1811          if (config->device_id == VIRTIO_ID_NET)
> 1812                  config->features &= VDUSE_NET_VALID_FEATURES_MASK;
  1813  }
  1814  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

Reply via email to