* [openeuler:openEuler-1.0-LTS 1740/1740] mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
@ 2025-10-18 10:09 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2025-10-18 10:09 UTC (permalink / raw)
To: kernel, Yang Yingliang; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: e98deea13d81cacd6479edf0de6267118ae7c639
commit: 1845e7add95773a24019fb72bbea24a0a568663b [1740/1740] mm: Add reliable memory use limit for user tasks
config: arm64-randconfig-r121-20250729 (https://download.01.org/0day-ci/archive/20251018/202510181808.04lWorDM-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251018/202510181808.04lWorDM-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/202510181808.04lWorDM-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
mm/mem_reliable.c:126:5: warning: no previous prototype for 'reliable_limit_handler' [-Wmissing-prototypes]
126 | int reliable_limit_handler(struct ctl_table *table, int write,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/reliable_limit_handler +126 mm/mem_reliable.c
124
125 #ifdef CONFIG_SYSCTL
> 126 int reliable_limit_handler(struct ctl_table *table, int write,
127 void __user *buffer, size_t *length, loff_t *ppos)
128 {
129 unsigned long old = task_reliable_limit;
130 int ret;
131
132 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos);
133 if (ret == 0 && write) {
134 if (task_reliable_limit > total_reliable_mem_sz()) {
135 task_reliable_limit = old;
136 return -EINVAL;
137 }
138 }
139
140 return ret;
141 }
142
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread* [openeuler:openEuler-1.0-LTS 1740/1740] mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
@ 2025-11-23 2:13 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2025-11-23 2:13 UTC (permalink / raw)
To: kernel, Yang Yingliang; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 6c5657aecca1857be6ea39f789159c9acfde2f9e
commit: 1845e7add95773a24019fb72bbea24a0a568663b [1740/1740] mm: Add reliable memory use limit for user tasks
config: arm64-randconfig-r121-20250729 (https://download.01.org/0day-ci/archive/20251123/202511231029.GHGXNbti-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251123/202511231029.GHGXNbti-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/202511231029.GHGXNbti-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
mm/mem_reliable.c:126:5: warning: no previous prototype for 'reliable_limit_handler' [-Wmissing-prototypes]
126 | int reliable_limit_handler(struct ctl_table *table, int write,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/reliable_limit_handler +126 mm/mem_reliable.c
124
125 #ifdef CONFIG_SYSCTL
> 126 int reliable_limit_handler(struct ctl_table *table, int write,
127 void __user *buffer, size_t *length, loff_t *ppos)
128 {
129 unsigned long old = task_reliable_limit;
130 int ret;
131
132 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos);
133 if (ret == 0 && write) {
134 if (task_reliable_limit > total_reliable_mem_sz()) {
135 task_reliable_limit = old;
136 return -EINVAL;
137 }
138 }
139
140 return ret;
141 }
142
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread* [openeuler:openEuler-1.0-LTS 1740/1740] mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
@ 2025-10-10 15:42 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2025-10-10 15:42 UTC (permalink / raw)
To: kernel, Yang Yingliang; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 0e7e343932646d9a28d9b5f8b025d781051fa52a
commit: 1845e7add95773a24019fb72bbea24a0a568663b [1740/1740] mm: Add reliable memory use limit for user tasks
config: arm64-randconfig-r121-20250729 (https://download.01.org/0day-ci/archive/20251010/202510102344.gEz84vGP-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251010/202510102344.gEz84vGP-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/202510102344.gEz84vGP-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
mm/mem_reliable.c:126:5: warning: no previous prototype for 'reliable_limit_handler' [-Wmissing-prototypes]
126 | int reliable_limit_handler(struct ctl_table *table, int write,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/reliable_limit_handler +126 mm/mem_reliable.c
124
125 #ifdef CONFIG_SYSCTL
> 126 int reliable_limit_handler(struct ctl_table *table, int write,
127 void __user *buffer, size_t *length, loff_t *ppos)
128 {
129 unsigned long old = task_reliable_limit;
130 int ret;
131
132 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos);
133 if (ret == 0 && write) {
134 if (task_reliable_limit > total_reliable_mem_sz()) {
135 task_reliable_limit = old;
136 return -EINVAL;
137 }
138 }
139
140 return ret;
141 }
142
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread* [openeuler:openEuler-1.0-LTS 1740/1740] mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
@ 2025-09-03 23:33 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2025-09-03 23:33 UTC (permalink / raw)
To: kernel, Yang Yingliang; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: e89b998912c3f26072b4a79fba9fe4365c38ab19
commit: 1845e7add95773a24019fb72bbea24a0a568663b [1740/1740] mm: Add reliable memory use limit for user tasks
config: arm64-randconfig-r121-20250729 (https://download.01.org/0day-ci/archive/20250904/202509040747.kf1P19QW-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce: (https://download.01.org/0day-ci/archive/20250904/202509040747.kf1P19QW-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/202509040747.kf1P19QW-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
mm/mem_reliable.c:126:5: warning: no previous prototype for 'reliable_limit_handler' [-Wmissing-prototypes]
126 | int reliable_limit_handler(struct ctl_table *table, int write,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/reliable_limit_handler +126 mm/mem_reliable.c
124
125 #ifdef CONFIG_SYSCTL
> 126 int reliable_limit_handler(struct ctl_table *table, int write,
127 void __user *buffer, size_t *length, loff_t *ppos)
128 {
129 unsigned long old = task_reliable_limit;
130 int ret;
131
132 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos);
133 if (ret == 0 && write) {
134 if (task_reliable_limit > total_reliable_mem_sz()) {
135 task_reliable_limit = old;
136 return -EINVAL;
137 }
138 }
139
140 return ret;
141 }
142
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread* [openeuler:openEuler-1.0-LTS 1740/1740] mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
@ 2025-07-30 17:19 kernel test robot
0 siblings, 0 replies; 5+ messages in thread
From: kernel test robot @ 2025-07-30 17:19 UTC (permalink / raw)
To: kernel, Yang Yingliang; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git openEuler-1.0-LTS
head: 859de5033e15abefcf19935429e6478be97d889a
commit: 1845e7add95773a24019fb72bbea24a0a568663b [1740/1740] mm: Add reliable memory use limit for user tasks
config: arm64-randconfig-r121-20250729 (https://download.01.org/0day-ci/archive/20250731/202507310153.fW2hs6vO-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce: (https://download.01.org/0day-ci/archive/20250731/202507310153.fW2hs6vO-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/202507310153.fW2hs6vO-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static?
mm/mem_reliable.c:126:5: warning: no previous prototype for 'reliable_limit_handler' [-Wmissing-prototypes]
126 | int reliable_limit_handler(struct ctl_table *table, int write,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/reliable_limit_handler +126 mm/mem_reliable.c
124
125 #ifdef CONFIG_SYSCTL
> 126 int reliable_limit_handler(struct ctl_table *table, int write,
127 void __user *buffer, size_t *length, loff_t *ppos)
128 {
129 unsigned long old = task_reliable_limit;
130 int ret;
131
132 ret = proc_doulongvec_minmax(table, write, buffer, length, ppos);
133 if (ret == 0 && write) {
134 if (task_reliable_limit > total_reliable_mem_sz()) {
135 task_reliable_limit = old;
136 return -EINVAL;
137 }
138 }
139
140 return ret;
141 }
142
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-11-23 2:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-18 10:09 [openeuler:openEuler-1.0-LTS 1740/1740] mm/mem_reliable.c:126:5: sparse: sparse: symbol 'reliable_limit_handler' was not declared. Should it be static? kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2025-11-23 2:13 kernel test robot
2025-10-10 15:42 kernel test robot
2025-09-03 23:33 kernel test robot
2025-07-30 17:19 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.