public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:axboe/linux-block/fastpoll-mshot 89/98] fs/io_uring.c:6075:9: error: implicit declaration of function '__io_poll_clean'; did you mean '__io_fill_cqe'?
@ 2022-05-11  5:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-11  5:53 UTC (permalink / raw)
  To: Hao Xu; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel, Jens Axboe

tree:   https://github.com/ammarfaizi2/linux-block axboe/linux-block/fastpoll-mshot
head:   e721cdc172fd3aa845e4a0850cb5f9aefd8f3591
commit: e2959ad0f1aa6081772c3d9c703497c15d9c6039 [89/98] io_uring: add a helper for poll clean
config: m68k-randconfig-m031-20220509 (https://download.01.org/0day-ci/archive/20220511/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 11.3.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://github.com/ammarfaizi2/linux-block/commit/e2959ad0f1aa6081772c3d9c703497c15d9c6039
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block axboe/linux-block/fastpoll-mshot
        git checkout e2959ad0f1aa6081772c3d9c703497c15d9c6039
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>

All errors (new ones prefixed by >>):

   fs/io_uring.c: In function '__io_submit_flush_completions':
   fs/io_uring.c:2806:40: warning: variable 'prev' set but not used [-Wunused-but-set-variable]
    2806 |         struct io_wq_work_node *node, *prev;
         |                                        ^~~~
   fs/io_uring.c: In function 'io_apoll_task_func':
>> fs/io_uring.c:6075:9: error: implicit declaration of function '__io_poll_clean'; did you mean '__io_fill_cqe'? [-Werror=implicit-function-declaration]
    6075 |         __io_poll_clean(req);
         |         ^~~~~~~~~~~~~~~
         |         __io_fill_cqe
   cc1: some warnings being treated as errors


vim +6075 fs/io_uring.c

  6066	
  6067	static void io_apoll_task_func(struct io_kiocb *req, bool *locked)
  6068	{
  6069		int ret;
  6070	
  6071		ret = io_poll_check_events(req, locked);
  6072		if (ret > 0)
  6073			return;
  6074	
> 6075		__io_poll_clean(req);
  6076	
  6077		if (!ret)
  6078			io_req_task_submit(req, locked);
  6079		else
  6080			io_req_complete_failed(req, ret);
  6081	}
  6082	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-05-11  5:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11  5:53 [ammarfaizi2-block:axboe/linux-block/fastpoll-mshot 89/98] fs/io_uring.c:6075:9: error: implicit declaration of function '__io_poll_clean'; did you mean '__io_fill_cqe'? 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