From: kernel test robot <lkp@intel.com>
To: Dylan Yudaken <dylany@fb.com>
Cc: kbuild-all@lists.01.org,
GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>
Subject: [ammarfaizi2-block:axboe/linux-block/for-5.20/io_uring-buffered-writes 118/137] io_uring/io_uring.c:1038: warning: expecting prototype for io_llist_xchg(). Prototype was for io_llist_cmpxchg() instead
Date: Thu, 23 Jun 2022 08:46:34 +0800 [thread overview]
Message-ID: <202206230848.OkDjWWbp-lkp@intel.com> (raw)
tree: https://github.com/ammarfaizi2/linux-block axboe/linux-block/for-5.20/io_uring-buffered-writes
head: e9cfc64a27f7a581b8c5d14da4efccfeae9c63bd
commit: c0808632a83a7c607a987154372e705353acf4f2 [118/137] io_uring: introduce llist helpers
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20220623/202206230848.OkDjWWbp-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://github.com/ammarfaizi2/linux-block/commit/c0808632a83a7c607a987154372e705353acf4f2
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block axboe/linux-block/for-5.20/io_uring-buffered-writes
git checkout c0808632a83a7c607a987154372e705353acf4f2
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=um SUBARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
io_uring/io_uring.c:1022: warning: Function parameter or member 'node' not described in 'io_llist_xchg'
io_uring/io_uring.c:1022: warning: Excess function parameter 'new' description in 'io_llist_xchg'
>> io_uring/io_uring.c:1038: warning: expecting prototype for io_llist_xchg(). Prototype was for io_llist_cmpxchg() instead
vim +1038 io_uring/io_uring.c
1025
1026 /**
1027 * io_llist_xchg - possibly swap all entries in a lock-less list
1028 * @head: the head of lock-less list to delete all entries
1029 * @old: expected old value of the first entry of the list
1030 * @new: new entry as the head of the list
1031 *
1032 * perform a cmpxchg on the first entry of the list.
1033 */
1034
1035 static inline struct llist_node *io_llist_cmpxchg(struct llist_head *head,
1036 struct llist_node *old,
1037 struct llist_node *new)
> 1038 {
1039 return cmpxchg(&head->first, old, new);
1040 }
1041
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-23 1:28 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=202206230848.OkDjWWbp-lkp@intel.com \
--to=lkp@intel.com \
--cc=axboe@kernel.dk \
--cc=dylany@fb.com \
--cc=gwml@vger.gnuweeb.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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.