Hi Ferry, kernel test robot noticed the following build warnings: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on linus/master v6.13-rc1 next-20241203] [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/Ferry-Meng/virtio-blk-add-virtio-blk-chardev-support/20241203-202032 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next patch link: https://lore.kernel.org/r/20241203121424.19887-3-mengferry%40linux.alibaba.com patch subject: [PATCH 2/3] virtio-blk: add uring_cmd support for I/O passthru on chardev. config: i386-randconfig-063-20241204 (https://download.01.org/0day-ci/archive/20241204/202412042324.uKQ5KdkE-lkp@xxxxxxxxx/config) compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241204/202412042324.uKQ5KdkE-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/202412042324.uKQ5KdkE-lkp@xxxxxxxxx/ sparse warnings: (new ones prefixed by >>) >> drivers/block/virtio_blk.c:144:28: sparse: sparse: restricted __virtio32 degrades to integer >> drivers/block/virtio_blk.c:1337:53: sparse: sparse: restricted blk_opf_t degrades to integer >> drivers/block/virtio_blk.c:1337:59: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted blk_opf_t [usertype] opf @@ got unsigned int @@ drivers/block/virtio_blk.c:1337:59: sparse: expected restricted blk_opf_t [usertype] opf drivers/block/virtio_blk.c:1337:59: sparse: got unsigned int >> drivers/block/virtio_blk.c:1405:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __virtio64 [assigned] [usertype] sector @@ got restricted __virtio32 @@ drivers/block/virtio_blk.c:1405:26: sparse: expected restricted __virtio64 [assigned] [usertype] sector drivers/block/virtio_blk.c:1405:26: sparse: got restricted __virtio32 >> drivers/block/virtio_blk.c:1410:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int rq_flags @@ got restricted blk_opf_t [usertype] @@ drivers/block/virtio_blk.c:1410:26: sparse: expected unsigned int rq_flags drivers/block/virtio_blk.c:1410:26: sparse: got restricted blk_opf_t [usertype] >> drivers/block/virtio_blk.c:1414:26: sparse: sparse: invalid assignment: |= drivers/block/virtio_blk.c:1414:26: sparse: left side has type unsigned int drivers/block/virtio_blk.c:1414:26: sparse: right side has type restricted blk_opf_t drivers/block/virtio_blk.c: note: in included file (through include/linux/mmzone.h, include/linux/gfp.h, include/linux/slab.h): include/linux/page-flags.h:237:46: sparse: sparse: self-comparison always evaluates to false include/linux/page-flags.h:237:46: sparse: sparse: self-comparison always evaluates to false vim +144 drivers/block/virtio_blk.c 141 142 static bool virtblk_is_write(struct virtblk_command *cmd) 143 { > 144 return cmd->out_hdr.type & VIRTIO_BLK_T_OUT; 145 } 146 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki