public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Usama Arif <usama.arif@bytedance.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [RFC 2/3] io_uring: add support for IORING_OP_MSGSND
Date: Tue, 14 Jun 2022 14:18:35 +0800	[thread overview]
Message-ID: <202206141405.lCMvrlaK-lkp@intel.com> (raw)
In-Reply-To: <20220613192642.2040118-3-usama.arif@bytedance.com>

Hi Usama,

[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on linus/master]
[also build test ERROR on v5.19-rc2 next-20220610]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/intel-lab-lkp/linux/commits/Usama-Arif/io_uring-add-support-for-IORING_OP_MSGSND-IORING_OP_MSGRCV/20220614-043915
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3
config: hexagon-randconfig-r041-20220613 (https://download.01.org/0day-ci/archive/20220614/202206141405.lCMvrlaK-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c97436f8b6e2718286e8496faf53a2c800e281cf)
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/intel-lab-lkp/linux/commit/55ef2bd7a864162103bc17258d5426bb0847dc9d
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Usama-Arif/io_uring-add-support-for-IORING_OP_MSGSND-IORING_OP_MSGRCV/20220614-043915
        git checkout 55ef2bd7a864162103bc17258d5426bb0847dc9d
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

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

All error/warnings (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: check_and_load_msgsnd
   >>> referenced by io_uring.c
   >>> io_uring.o:(io_issue_sqe) in archive fs/built-in.a
   >>> referenced by io_uring.c
   >>> io_uring.o:(io_issue_sqe) in archive fs/built-in.a
--
>> ld.lld: error: undefined symbol: __do_msgsnd
   >>> referenced by io_uring.c
   >>> io_uring.o:(io_issue_sqe) in archive fs/built-in.a
   >>> referenced by io_uring.c
   >>> io_uring.o:(io_issue_sqe) in archive fs/built-in.a
--
>> ld.lld: error: undefined symbol: free_msg
   >>> referenced by io_uring.c
   >>> io_uring.o:(io_issue_sqe) in archive fs/built-in.a
   >>> referenced by io_uring.c
   >>> io_uring.o:(io_issue_sqe) in archive fs/built-in.a
   >>> referenced by io_uring.c
   >>> io_uring.o:(io_clean_op) in archive fs/built-in.a
   >>> referenced 1 more times
--
>> fs/io_uring.c:6262:6: warning: variable 'flags' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
           if (force_nonblock)
               ^~~~~~~~~~~~~~
   fs/io_uring.c:6266:22: note: uninitialized use occurs here
                                           msg_sr->msg_sz, flags);
                                                           ^~~~~
   fs/io_uring.c:6262:2: note: remove the 'if' if its condition is always true
           if (force_nonblock)
           ^~~~~~~~~~~~~~~~~~~
   fs/io_uring.c:6247:11: note: initialize the variable 'flags' to silence this warning
           int flags;
                    ^
                     = 0
   fs/io_uring.c:8737:28: warning: unused function 'io_file_from_index' [-Wunused-function]
   static inline struct file *io_file_from_index(struct io_ring_ctx *ctx,
                              ^
   2 warnings generated.

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

       reply	other threads:[~2022-06-14  6:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220613192642.2040118-3-usama.arif@bytedance.com>
2022-06-14  6:18 ` kernel test robot [this message]
2022-06-14  6:28 ` [RFC 2/3] io_uring: add support for IORING_OP_MSGSND kernel test robot

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=202206141405.lCMvrlaK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    --cc=usama.arif@bytedance.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox