Hi Daniel, kernel test robot noticed the following build warnings: [auto build test WARNING on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Daniel-Jurgens/virtio_net-Store-RSS-setting-in-virtnet_info/20240328-125022 base: net-next/main patch link: https://lore.kernel.org/r/20240328044715.266641-3-danielj%40nvidia.com patch subject: [PATCH net-next v2 2/6] virtio_net: Remove command data from control_buf config: x86_64-randconfig-122-20240328 (https://download.01.org/0day-ci/archive/20240329/202403290542.gM5D7hMG-lkp@xxxxxxxxx/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403290542.gM5D7hMG-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/202403290542.gM5D7hMG-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/net/virtio_net.c:3978:20: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] @@ got restricted __virtio64 @@ drivers/net/virtio_net.c:3978:20: sparse: expected unsigned long long [usertype] drivers/net/virtio_net.c:3978:20: sparse: got restricted __virtio64 vim +3978 drivers/net/virtio_net.c 3968 3969 static int virtnet_set_guest_offloads(struct virtnet_info *vi, u64 offloads) 3970 { 3971 u64 *_offloads __free(kfree) = NULL; 3972 struct scatterlist sg; 3973 3974 _offloads = kzalloc(sizeof(*_offloads), GFP_KERNEL); 3975 if (!_offloads) 3976 return -ENOMEM; 3977 > 3978 *_offloads = cpu_to_virtio64(vi->vdev, offloads); 3979 3980 sg_init_one(&sg, _offloads, sizeof(*_offloads)); 3981 3982 if (!virtnet_send_command(vi, VIRTIO_NET_CTRL_GUEST_OFFLOADS, 3983 VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET, &sg)) { 3984 dev_warn(&vi->dev->dev, "Fail to set guest offload.\n"); 3985 return -EINVAL; 3986 } 3987 3988 return 0; 3989 } 3990 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki