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: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20251223/202512230655.QvO6dmjt-lkp@i...) compiler: alpha-linux-gcc (GCC) 15.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251223/202512230655.QvO6dmjt-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/202512230655.QvO6dmjt-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from include/linux/bpf.h:32, from include/linux/security.h:35, from include/linux/perf_event.h:53, from include/linux/trace_events.h:10, from include/trace/syscall.h:7, from include/linux/syscalls.h:96, from include/linux/syscalls_api.h:1, from kernel/sched/sched.h:61, from kernel/sched/rq-offsets.c:5: include/linux/memcontrol.h: In function 'mem_cgroup_filter_mems_allowed':
include/linux/memcontrol.h:1824:1: warning: no return statement in function returning non-void [-Wreturn-type]
1824 | } | ^ -- In file included from include/linux/bpf.h:32, from include/linux/security.h:35, from include/linux/perf_event.h:53, from include/linux/trace_events.h:10, from include/trace/syscall.h:7, from include/linux/syscalls.h:96, from include/linux/syscalls_api.h:1, from kernel/sched/sched.h:61, from kernel/sched/rq-offsets.c:5: include/linux/memcontrol.h: In function 'mem_cgroup_filter_mems_allowed':
include/linux/memcontrol.h:1824:1: warning: no return statement in function returning non-void [-Wreturn-type]
1824 | } | ^
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