Hi Bing,
kernel test robot noticed the following build warnings:
[auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on tj-cgroup/for-next linus/master v6.19-rc2 next-20251219] [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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Bing-Jiao/mm-vmscan-respect-m... base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20251221233635.3761887-2-bingjiao%40google.com patch subject: [PATCH v2 1/2] mm/vmscan: respect mems_effective in demote_folio_list() config: arm-allnoconfig (https://download.01.org/0day-ci/archive/20251223/202512230553.LuiUveL3-lkp@i...) compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 185f5fd5ce4c65116ca8cf6df467a682ef090499) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/202512230553.LuiUveL3-lkp@i...)
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/202512230553.LuiUveL3-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from kernel/sched/rq-offsets.c:5: In file included from kernel/sched/sched.h:61: In file included from include/linux/syscalls_api.h:1: In file included from include/linux/syscalls.h:96: In file included from include/trace/syscall.h:7: In file included from include/linux/trace_events.h:10: In file included from include/linux/perf_event.h:53: In file included from include/linux/security.h:35: In file included from include/linux/bpf.h:32:
include/linux/memcontrol.h:1824:1: warning: non-void function does not return a value [-Wreturn-type]
1824 | } | ^ 1 warning generated. -- In file included from arch/arm/kernel/signal.c:12: In file included from include/linux/resume_user_mode.h:8:
include/linux/memcontrol.h:1824:1: warning: non-void function does not return a value [-Wreturn-type]
1824 | } | ^ arch/arm/kernel/signal.c:143:15: warning: variable 'aux' set but not used [-Wunused-but-set-variable] 143 | char __user *aux; | ^ 2 warnings generated. -- In file included from kernel/sched/rq-offsets.c:5: In file included from kernel/sched/sched.h:61: In file included from include/linux/syscalls_api.h:1: In file included from include/linux/syscalls.h:96: In file included from include/trace/syscall.h:7: In file included from include/linux/trace_events.h:10: In file included from include/linux/perf_event.h:53: In file included from include/linux/security.h:35: In file included from include/linux/bpf.h:32:
include/linux/memcontrol.h:1824:1: warning: non-void function does not return a value [-Wreturn-type]
1824 | } | ^ 1 warning generated.
vim +1824 include/linux/memcontrol.h
1820 1821 static inline bool mem_cgroup_filter_mems_allowed(struct mem_cgroup *memcg, 1822 nodemask_t *mask) 1823 {
1824 }
1825