Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [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
Date: Sat, 09 May 2026 03:44:31 +0800	[thread overview]
Message-ID: <202605090326.8Rj9oSAp-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-05-08 19:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202605090326.8Rj9oSAp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=axboe@kernel.dk \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox