tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 771a207d1ee9f38da8c0cee1412228f18b900bac commit: 261187e66de362de931631fc481ac8b9118c36f5 [8857/9540] io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups config: csky-randconfig-r015-20221120 compiler: csky-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=261187e66de362de931631fc481ac8b9118c36f5 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 261187e66de362de931631fc481ac8b9118c36f5 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=csky SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All errors (new ones prefixed by >>): io_uring/io_uring.c: In function 'io_eventfd_ops': >> io_uring/io_uring.c:498:17: error: implicit declaration of function 'eventfd_signal_mask'; did you mean 'eventfd_signal'? [-Werror=implicit-function-declaration] 498 | eventfd_signal_mask(ev_fd->cq_ev_fd, 1, EPOLL_URING_WAKE); | ^~~~~~~~~~~~~~~~~~~ | eventfd_signal io_uring/io_uring.c: In function '__io_submit_flush_completions': io_uring/io_uring.c:1338:40: warning: variable 'prev' set but not used [-Wunused-but-set-variable] 1338 | struct io_wq_work_node *node, *prev; | ^~~~ cc1: some warnings being treated as errors vim +498 io_uring/io_uring.c 490 491 492 static void io_eventfd_ops(struct rcu_head *rcu) 493 { 494 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); 495 int ops = atomic_xchg(&ev_fd->ops, 0); 496 497 if (ops & BIT(IO_EVENTFD_OP_SIGNAL_BIT)) > 498 eventfd_signal_mask(ev_fd->cq_ev_fd, 1, EPOLL_URING_WAKE); 499 500 /* IO_EVENTFD_OP_FREE_BIT may not be set here depending on callback 501 * ordering in a race but if references are 0 we know we have to free 502 * it regardless. 503 */ 504 if (atomic_dec_and_test(&ev_fd->refs)) { 505 eventfd_ctx_put(ev_fd->cq_ev_fd); 506 kfree(ev_fd); 507 } 508 } 509 -- 0-DAY CI Kernel Test Service https://01.org/lkp