All of lore.kernel.org
 help / color / mirror / Atom feed
* [isilence:zctx/devmem 14/15] io_uring/rsrc.c:1227:36: sparse: sparse: incorrect type in argument 3 (different address spaces)
@ 2026-07-08  1:12 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-08  1:12 UTC (permalink / raw)
  To: Pavel Begunkov; +Cc: oe-kbuild-all

tree:   https://github.com/isilence/linux zctx/devmem
head:   ad3d2185448cf828c65336fa4b71233098473a4a
commit: cd188445aee6477a09e0908f090106517becc7c0 [14/15] io_uring/rsrc: add zcrx backed registered buffers
config: arc-randconfig-r122-20260708 (https://download.01.org/0day-ci/archive/20260708/202607080831.vyhUT1Ca-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 8.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260708/202607080831.vyhUT1Ca-lkp@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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607080831.vyhUT1Ca-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> io_uring/rsrc.c:1227:36: sparse: sparse: incorrect type in argument 3 (different address spaces) @@     expected void [noderef] __user *buf @@     got void * @@
   io_uring/rsrc.c:1227:36: sparse:     expected void [noderef] __user *buf
   io_uring/rsrc.c:1227:36: sparse:     got void *
   io_uring/rsrc.c: note: in included file:
   io_uring/filetable.h:55:35: sparse: sparse: restricted io_req_flags_t degrades to integer
   io_uring/filetable.h:55:35: sparse: sparse: restricted io_req_flags_t degrades to integer

vim +1227 io_uring/rsrc.c

  1222	
  1223	static int io_import_from_zcrx(int ddir, struct iov_iter *iter,
  1224					struct io_mapped_ubuf *imu,
  1225					u64 buf_addr, size_t len)
  1226	{
> 1227		iov_iter_ubuf(iter, ddir, (void *)(unsigned long)buf_addr, len);
  1228		return 0;
  1229	}
  1230	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-08  1:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08  1:12 [isilence:zctx/devmem 14/15] io_uring/rsrc.c:1227:36: sparse: sparse: incorrect type in argument 3 (different address spaces) kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.