All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [block:for-5.12/io_uring 113/118] fs/io_uring.c:6153:10: error: implicit declaration of function 'io_sendmsg_prep_async'; did you mean
Date: Sat, 20 Feb 2021 01:04:15 +0800	[thread overview]
Message-ID: <202102200113.XRfh9TO5-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3166 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-5.12/io_uring
head:   c37375b314a577b3385551b646aed90faa958186
commit: 93642ef8843445f72a1e6b0c68914746c7aa5b9c [113/118] io_uring: split sqe-prep and async setup
config: ia64-randconfig-s031-20210219 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.3-229-g60c1f270-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=93642ef8843445f72a1e6b0c68914746c7aa5b9c
        git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
        git fetch --no-tags block for-5.12/io_uring
        git checkout 93642ef8843445f72a1e6b0c68914746c7aa5b9c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   fs/io_uring.c: In function 'io_req_prep_async':
>> fs/io_uring.c:6153:10: error: implicit declaration of function 'io_sendmsg_prep_async'; did you mean 'io_req_prep_async'? [-Werror=implicit-function-declaration]
    6153 |   return io_sendmsg_prep_async(req);
         |          ^~~~~~~~~~~~~~~~~~~~~
         |          io_req_prep_async
>> fs/io_uring.c:6156:10: error: implicit declaration of function 'io_recvmsg_prep_async'; did you mean 'io_req_prep_async'? [-Werror=implicit-function-declaration]
    6156 |   return io_recvmsg_prep_async(req);
         |          ^~~~~~~~~~~~~~~~~~~~~
         |          io_req_prep_async
>> fs/io_uring.c:6158:10: error: implicit declaration of function 'io_connect_prep_async'; did you mean 'io_req_prep_async'? [-Werror=implicit-function-declaration]
    6158 |   return io_connect_prep_async(req);
         |          ^~~~~~~~~~~~~~~~~~~~~
         |          io_req_prep_async
   cc1: some warnings being treated as errors


vim +6153 fs/io_uring.c

  6139	
  6140	static int io_req_prep_async(struct io_kiocb *req)
  6141	{
  6142		switch (req->opcode) {
  6143		case IORING_OP_READV:
  6144		case IORING_OP_READ_FIXED:
  6145		case IORING_OP_READ:
  6146			return io_rw_prep_async(req, READ);
  6147		case IORING_OP_WRITEV:
  6148		case IORING_OP_WRITE_FIXED:
  6149		case IORING_OP_WRITE:
  6150			return io_rw_prep_async(req, WRITE);
  6151		case IORING_OP_SENDMSG:
  6152		case IORING_OP_SEND:
> 6153			return io_sendmsg_prep_async(req);
  6154		case IORING_OP_RECVMSG:
  6155		case IORING_OP_RECV:
> 6156			return io_recvmsg_prep_async(req);
  6157		case IORING_OP_CONNECT:
> 6158			return io_connect_prep_async(req);
  6159		}
  6160		return 0;
  6161	}
  6162	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 22209 bytes --]

                 reply	other threads:[~2021-02-19 17:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202102200113.XRfh9TO5-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.