lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205111354.aZRUoOl7-lkp@intel.com>
Date:   Wed, 11 May 2022 13:53:45 +0800
From:   kernel test robot <lkp@...el.com>
To:     Hao Xu <howeyxu@...cent.com>
Cc:     kbuild-all@...ts.01.org,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org, Jens Axboe <axboe@...nel.dk>
Subject: [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'?

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/202205111354.aZRUoOl7-lkp@intel.com/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 <lkp@...el.com>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ