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 8/13] io_uring/slot.h:30:19: error: cannot combine with previous 'int' declaration specifier
Date: Sat, 09 May 2026 08:19:11 +0800	[thread overview]
Message-ID: <202605090837.5tCQXf1J-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git io_uring-io-slots
head:   2bbc5f014e3a6c148a49af38c5f288ee510ca57b
commit: d73e59bdb078d19dd428654188e537c2fca735f3 [8/13] io_uring: add registered IO slot infrastructure
config: arm64-randconfig-001-20260509 (https://download.01.org/0day-ci/archive/20260509/202605090837.5tCQXf1J-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/202605090837.5tCQXf1J-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/202605090837.5tCQXf1J-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from io_uring/io_uring.c:80:
>> io_uring/slot.h:30:19: error: cannot combine with previous 'int' declaration specifier
   static inline int int io_unregister_io_slot(struct io_ring_ctx *ctx, void __user *arg)
                     ^
   1 error generated.
--
   In file included from io_uring/rw.c:26:
>> io_uring/slot.h:30:19: error: cannot combine with previous 'int' declaration specifier
   static inline int int io_unregister_io_slot(struct io_ring_ctx *ctx, void __user *arg)
                     ^
   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);
       ^
   2 errors generated.


vim +/int +30 io_uring/slot.h

    29	
  > 30	static inline int int io_unregister_io_slot(struct io_ring_ctx *ctx, void __user *arg)
    31	{
    32		return -EOPNOTSUPP;
    33	}
    34	

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

                 reply	other threads:[~2026-05-09  0:19 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=202605090837.5tCQXf1J-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