From: kernel test robot <lkp@intel.com>
To: qiang.zhang@windriver.com, axboe@kernel.dk, viro@zeniv.linux.org.uk
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH v2] eventfd: convert global percpu eventfd_wake_count to ctx percpu eventfd_wake_count
Date: Wed, 9 Jun 2021 14:55:42 +0800 [thread overview]
Message-ID: <202106091455.2cMyEMAd-lkp@intel.com> (raw)
In-Reply-To: <20210609032314.27232-1-qiang.zhang@windriver.com>
[-- Attachment #1: Type: text/plain, Size: 2829 bytes --]
Hi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.13-rc5 next-20210608]
[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/0day-ci/linux/commits/qiang-zhang-windriver-com/eventfd-convert-global-percpu-eventfd_wake_count-to-ctx-percpu-eventfd_wake_count/20210609-112354
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 368094df48e680fa51cedb68537408cfa64b788e
config: riscv-randconfig-s031-20210608 (attached as .config)
compiler: riscv32-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-341-g8af24329-dirty
# https://github.com/0day-ci/linux/commit/e11cefc5baf3f6cfb1ec8cd99b80422b6f592517
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review qiang-zhang-windriver-com/eventfd-convert-global-percpu-eventfd_wake_count-to-ctx-percpu-eventfd_wake_count/20210609-112354
git checkout e11cefc5baf3f6cfb1ec8cd99b80422b6f592517
# 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__' W=1 ARCH=riscv
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 >>):
In file included from drivers/vhost/net.c:9:
>> include/linux/eventfd.h:37:14: error: field 'kref' has incomplete type
37 | struct kref kref;
| ^~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ERRATA_SIFIVE
Depends on RISCV_ERRATA_ALTERNATIVE
Selected by
- SOC_SIFIVE
vim +/kref +37 include/linux/eventfd.h
35
36 struct eventfd_ctx {
> 37 struct kref kref;
38 wait_queue_head_t wqh;
39 /*
40 * Every time that a write(2) is performed on an eventfd, the
41 * value of the __u64 being written is added to "count" and a
42 * wakeup is performed on "wqh". A read(2) will return the "count"
43 * value to userspace, and will reset "count" to zero. The kernel
44 * side eventfd_signal() also, adds to the "count" counter and
45 * issue a wakeup.
46 */
47 __u64 count;
48 unsigned int flags;
49 int id;
50 int __percpu *eventfd_wake_count;
51 };
52
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40408 bytes --]
next prev parent reply other threads:[~2021-06-09 6:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-09 3:23 [PATCH v2] eventfd: convert global percpu eventfd_wake_count to ctx percpu eventfd_wake_count qiang.zhang
2021-06-09 6:55 ` kernel test robot [this message]
2021-06-09 18:23 ` 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=202106091455.2cMyEMAd-lkp@intel.com \
--to=lkp@intel.com \
--cc=axboe@kernel.dk \
--cc=kbuild-all@lists.01.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=qiang.zhang@windriver.com \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).