[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202106042240.sYJiT3Am-lkp@intel.com>
Date: Fri, 4 Jun 2021 23:03:16 +0800
From: kernel test robot <lkp@...el.com>
To: qiang.zhang@...driver.com, axboe@...nel.dk, viro@...iv.linux.org.uk
Cc: kbuild-all@...ts.01.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] eventfd: convert global percpu eventfd_wake_count to ctx
percpu eventfd_wake_count
Hi,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.13-rc4 next-20210604]
[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/20210604-154249
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f88cd3fb9df228e5ce4e13ec3dbad671ddb2146e
config: arm-randconfig-s031-20210604 (attached as .config)
compiler: arm-linux-gnueabi-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/3cff73140b2b518eec3e30712d9c66bbde8ad375
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/20210604-154249
git checkout 3cff73140b2b518eec3e30712d9c66bbde8ad375
# 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=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
sparse warnings: (new ones prefixed by >>)
fs/aio.c:588:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __percpu *__pdata @@ got struct kioctx_cpu *cpu @@
fs/aio.c:588:24: sparse: expected void [noderef] __percpu *__pdata
fs/aio.c:588:24: sparse: got struct kioctx_cpu *cpu
fs/aio.c:755:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct kioctx_cpu *cpu @@ got struct kioctx_cpu [noderef] __percpu * @@
fs/aio.c:755:18: sparse: expected struct kioctx_cpu *cpu
fs/aio.c:755:18: sparse: got struct kioctx_cpu [noderef] __percpu *
fs/aio.c:802:24: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void [noderef] __percpu *__pdata @@ got struct kioctx_cpu *cpu @@
fs/aio.c:802:24: sparse: expected void [noderef] __percpu *__pdata
fs/aio.c:802:24: sparse: got struct kioctx_cpu *cpu
fs/aio.c:907:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct kioctx_cpu * @@
fs/aio.c:907:16: sparse: expected void const [noderef] __percpu *__vpp_verify
fs/aio.c:907:16: sparse: got struct kioctx_cpu *
fs/aio.c:925:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got struct kioctx_cpu * @@
fs/aio.c:925:16: sparse: expected void const [noderef] __percpu *__vpp_verify
fs/aio.c:925:16: sparse: got struct kioctx_cpu *
fs/aio.c: note: in included file:
>> include/linux/eventfd.h:46:33: sparse: sparse: marked inline, but without a definition
vim +46 include/linux/eventfd.h
45
> 46 inline bool eventfd_signal_count(struct eventfd_ctx *ctx);
47
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (29408 bytes)
Powered by blists - more mailing lists