tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: 73dbeef4571d1037d5e03374fad31195f60956cf
commit: 5886769153480dd6dc42803b5717275daf0d5b03 [155/1031] CHROMIUM: net: Add per-netns
dummy tcp_default_init_rwnd
config: i386-randconfig-s001-20201217 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-184-g1b896707-dirty
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout 5886769153480dd6dc42803b5717275daf0d5b03
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
"sparse warnings: (new ones prefixed by >>)"
> net/ipv4/sysctl_net_ipv4.c:225:42: sparse: sparse: incorrect type
in argument 3 (different address spaces) @@ expected void * @@ got void [noderef]
__user *buffer @@
net/ipv4/sysctl_net_ipv4.c:225:42: sparse: expected void *
net/ipv4/sysctl_net_ipv4.c:225:42: sparse: got void [noderef] __user *buffer
> net/ipv4/sysctl_net_ipv4.c:1370:35: sparse: sparse: incorrect
type in initializer (incompatible argument 3 (different address spaces)) @@ expected
int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
net/ipv4/sysctl_net_ipv4.c:1370:35: sparse: expected int ( [usertype] *proc_handler )(
... )
net/ipv4/sysctl_net_ipv4.c:1370:35: sparse: got int ( * )( ... )
vim +225 net/ipv4/sysctl_net_ipv4.c
219
220 /* The current kernel does not rely on this value so we do nothing here */
221 static int proc_tcp_default_init_rwnd(struct ctl_table *ctl, int write,
222 void __user *buffer,
223 size_t *lenp, loff_t *ppos)
224 {
225 return proc_dointvec(ctl, write, buffer, lenp, ppos);
226 }
227
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org