* [axboe-block:io_uring-msg-ring.1 7/9] io_uring/io_uring.c:585:6: warning: no previous prototype for function 'io_cq_unlock_post'
@ 2024-06-06 4:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-06-06 4:58 UTC (permalink / raw)
To: Jens Axboe; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-msg-ring.1
head: 9c799821c57ae3670fef01abd6746b33685c07d6
commit: 7de82d2e1d5af1210e8f631b7d994957c602a8d4 [7/9] hack
config: riscv-defconfig (https://download.01.org/0day-ci/archive/20240606/202406061201.htRM9t09-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project d7d2d4f53fc79b4b58e8d8d08151b577c3699d4a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240606/202406061201.htRM9t09-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/202406061201.htRM9t09-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from io_uring/io_uring.c:45:
In file included from include/linux/syscalls.h:93:
In file included from include/trace/syscall.h:7:
In file included from include/linux/trace_events.h:6:
In file included from include/linux/ring_buffer.h:5:
In file included from include/linux/mm.h:2253:
include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> io_uring/io_uring.c:585:6: warning: no previous prototype for function 'io_cq_unlock_post' [-Wmissing-prototypes]
585 | void io_cq_unlock_post(struct io_ring_ctx *ctx)
| ^
io_uring/io_uring.c:585:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
585 | void io_cq_unlock_post(struct io_ring_ctx *ctx)
| ^
| static
2 warnings generated.
vim +/io_cq_unlock_post +585 io_uring/io_uring.c
584
> 585 void io_cq_unlock_post(struct io_ring_ctx *ctx)
586 __releases(ctx->completion_lock)
587 {
588 io_commit_cqring(ctx);
589 spin_unlock(&ctx->completion_lock);
590 io_cqring_wake(ctx);
591 io_commit_cqring_flush(ctx);
592 }
593
--
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:[~2024-06-06 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 4:58 [axboe-block:io_uring-msg-ring.1 7/9] io_uring/io_uring.c:585:6: warning: no previous prototype for function 'io_cq_unlock_post' 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