Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [axboe:io_uring-io-slots 8/13] io_uring/slot.h:30:19: error: cannot combine with previous 'int' declaration specifier
@ 2026-05-09  0:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-09  0:19 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: 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

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

only message in thread, other threads:[~2026-05-09  0:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-09  0:19 [axboe:io_uring-io-slots 8/13] io_uring/slot.h:30:19: error: cannot combine with previous 'int' declaration specifier 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