* [opencloudos:next 79/98] kernel/sysctl.c:580:54: sparse: sparse: incorrect type in argument 3 (different address spaces)
@ 2024-04-18 18:10 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-04-18 18:10 UTC (permalink / raw)
To: jasperwang, kaixuxia, frankjpliu, kasong, sagazchen, kernelxing,
aurelianliu, jason.zeng, wu.zheng, yingbao.jia, pei.p.jia
Cc: oe-kbuild-all
tree: https://gitee.com/OpenCloudOS/OpenCloudOS-Kernel.git next
head: 1a77a557522cf821eb3cb19959da7093902866ed
commit: 8f985ca9fe5f441dfaf6824bc08222f91f34a10c [79/98] pagecachelimit: limit the pagecache ratio of totalram
config: x86_64-randconfig-122-20240419 (https://download.01.org/0day-ci/archive/20240419/202404190235.b0TftmFJ-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240419/202404190235.b0TftmFJ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404190235.b0TftmFJ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> kernel/sysctl.c:580:54: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void * @@ got void [noderef] __user *buffer @@
kernel/sysctl.c:580:54: sparse: expected void *
kernel/sysctl.c:580:54: sparse: got void [noderef] __user *buffer
kernel/sysctl.c:592:54: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void * @@ got void [noderef] __user *buffer @@
kernel/sysctl.c:592:54: sparse: expected void *
kernel/sysctl.c:592:54: sparse: got void [noderef] __user *buffer
kernel/sysctl.c:610:54: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void * @@ got void [noderef] __user *buffer @@
kernel/sysctl.c:610:54: sparse: expected void *
kernel/sysctl.c:610:54: sparse: got void [noderef] __user *buffer
kernel/sysctl.c:967:47: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *buffer @@ got void [noderef] __user *buffer @@
kernel/sysctl.c:967:47: sparse: expected void *buffer
kernel/sysctl.c:967:47: sparse: got void [noderef] __user *buffer
kernel/sysctl.c:954:5: sparse: sparse: symbol 'proc_dointvec_max_map_count' was not declared. Should it be static?
kernel/sysctl.c:1127:45: sparse: sparse: incorrect type in argument 3 (different address spaces) @@ expected void *buffer @@ got void [noderef] __user *buffer @@
kernel/sysctl.c:1127:45: sparse: expected void *buffer
kernel/sysctl.c:1127:45: sparse: got void [noderef] __user *buffer
kernel/sysctl.c:1885:35: sparse: sparse: incorrect type in initializer (incompatible argument 3 (different address spaces)) @@ expected int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
kernel/sysctl.c:1885:35: sparse: expected int ( [usertype] *proc_handler )( ... )
kernel/sysctl.c:1885:35: sparse: got int ( * )( ... )
kernel/sysctl.c:2294:35: sparse: sparse: incorrect type in initializer (incompatible argument 3 (different address spaces)) @@ expected int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
kernel/sysctl.c:2294:35: sparse: expected int ( [usertype] *proc_handler )( ... )
kernel/sysctl.c:2294:35: sparse: got int ( * )( ... )
kernel/sysctl.c:2419:36: sparse: sparse: incorrect type in initializer (incompatible argument 3 (different address spaces)) @@ expected int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
kernel/sysctl.c:2419:36: sparse: expected int ( [usertype] *proc_handler )( ... )
kernel/sysctl.c:2419:36: sparse: got int ( * )( ... )
kernel/sysctl.c:2428:36: sparse: sparse: incorrect type in initializer (incompatible argument 3 (different address spaces)) @@ expected int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
kernel/sysctl.c:2428:36: sparse: expected int ( [usertype] *proc_handler )( ... )
kernel/sysctl.c:2428:36: sparse: got int ( * )( ... )
kernel/sysctl.c:2444:36: sparse: sparse: incorrect type in initializer (incompatible argument 3 (different address spaces)) @@ expected int ( [usertype] *proc_handler )( ... ) @@ got int ( * )( ... ) @@
kernel/sysctl.c:2444:36: sparse: expected int ( [usertype] *proc_handler )( ... )
kernel/sysctl.c:2444:36: sparse: got int ( * )( ... )
kernel/sysctl.c:317:66: sparse: sparse: self-comparison always evaluates to false
vim +580 kernel/sysctl.c
576
577 static int pc_limit_proc_dointvec(struct ctl_table *table, int write,
578 void __user *buffer, size_t *lenp, loff_t *ppos)
579 {
> 580 int ret = proc_dointvec_minmax(table, write, buffer, lenp, ppos);
581
582 if (write && !ret)
583 ret = setup_pagecache_limit();
584
585 return ret;
586 }
587
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-18 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-18 18:10 [opencloudos:next 79/98] kernel/sysctl.c:580:54: sparse: sparse: incorrect type in argument 3 (different address spaces) kernel test robot
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.