[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202101271344.e6nHWEyx-lkp@intel.com>
Date: Wed, 27 Jan 2021 13:49:28 +0800
From: kernel test robot <lkp@...el.com>
To: Chris Mi <cmi@...dia.com>, netdev@...r.kernel.org
Cc: kbuild-all@...ts.01.org, jiri@...dia.com, saeedm@...dia.com,
Chris Mi <cmi@...dia.com>
Subject: Re: [PATCH net-next] net: psample: Introduce stubs to remove NIC
driver dependency
Hi Chris,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Chris-Mi/net-psample-Introduce-stubs-to-remove-NIC-driver-dependency/20210127-082451
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 02c26940908fd31bb112e9742adedfb06eca19e1
config: s390-randconfig-s031-20210126 (attached as .config)
compiler: s390-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-212-g56dbccf5-dirty
# https://github.com/0day-ci/linux/commit/f2df98afc1a1f1809d9e8a178b2d4766cbca8bf7
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chris-Mi/net-psample-Introduce-stubs-to-remove-NIC-driver-dependency/20210127-082451
git checkout f2df98afc1a1f1809d9e8a178b2d4766cbca8bf7
# 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=s390
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 >>)"
>> net/psample/psample.c:468:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> net/psample/psample.c:468:17: sparse: struct psample_ops const [noderef] __rcu *
>> net/psample/psample.c:468:17: sparse: struct psample_ops const *
net/psample/psample.c:474:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/psample/psample.c:474:9: sparse: struct psample_ops const [noderef] __rcu *
net/psample/psample.c:474:9: sparse: struct psample_ops const *
vim +468 net/psample/psample.c
461
462 static int __init psample_module_init(void)
463 {
464 int ret;
465
466 ret = genl_register_family(&psample_nl_family);
467 if (!ret)
> 468 RCU_INIT_POINTER(psample_ops, &psample_sample_ops);
469 return ret;
470 }
471
---
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" (19518 bytes)
Powered by blists - more mailing lists