Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [axboe:io_uring-io-slots 7/13] io_uring/rw.c:1265:10: error: call to undeclared function 'io_slot_iopoll'; ISO C99 and later do not support implicit function declarations
@ 2026-05-08 19:44 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-08 19:44 UTC (permalink / raw)
  To: Jens Axboe; +Cc: llvm, oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git io_uring-io-slots
head:   2bbc5f014e3a6c148a49af38c5f288ee510ca57b
commit: 715e17fed1f6415643c698c612c79de00fa3b56b [7/13] io_uring: add IORING_OP_SLOT_RW and wire up slot completion
config: arm64-randconfig-001-20260509 (https://download.01.org/0day-ci/archive/20260509/202605090326.8Rj9oSAp-lkp@intel.com/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260509/202605090326.8Rj9oSAp-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/202605090326.8Rj9oSAp-lkp@intel.com/

All errors (new ones prefixed by >>):

>> io_uring/rw.c:1265:10: error: call to undeclared function 'io_slot_iopoll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                   return io_slot_iopoll(req, iob, poll_flags);
                          ^
   io_uring/rw.c:1265:10: note: did you mean 'io_do_iopoll'?
   io_uring/io_uring.h:202:5: note: 'io_do_iopoll' declared here
   int io_do_iopoll(struct io_ring_ctx *ctx, bool force_nonspin);
       ^
   1 error generated.


vim +/io_slot_iopoll +1265 io_uring/rw.c

  1252	
  1253	static int io_uring_classic_poll(struct io_kiocb *req, struct io_comp_batch *iob,
  1254					unsigned int poll_flags)
  1255	{
  1256		struct file *file = req->file;
  1257	
  1258		if (io_is_uring_cmd(req)) {
  1259			struct io_uring_cmd *ioucmd;
  1260	
  1261			ioucmd = io_kiocb_to_cmd(req, struct io_uring_cmd);
  1262			return file->f_op->uring_cmd_iopoll(ioucmd, iob, poll_flags);
  1263		} else if (io_is_slot_op(req)) {
  1264			/* slot ops have no file assigned, use private poll handler */
> 1265			return io_slot_iopoll(req, iob, poll_flags);
  1266		} else {
  1267			struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw);
  1268	
  1269			return file->f_op->iopoll(&rw->kiocb, iob, poll_flags);
  1270		}
  1271	}
  1272	

-- 
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-05-08 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-08 19:44 [axboe:io_uring-io-slots 7/13] io_uring/rw.c:1265:10: error: call to undeclared function 'io_slot_iopoll'; ISO C99 and later do not support implicit function declarations kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox