tree: https://github.com/rgushchin/linux.git percpu_shared.2 head: d26a8d37dbbd5bf1f34905a2255de1035de99f4e commit: efe6d7239e3d87b8818881d246ebae29f525c9d7 [2/3] mm, memcg: introduce mem_cgroup_kmem_disabled() config: i386-tinyconfig (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/rgushchin/linux/commit/efe6d7239e3d87b8818881d246ebae29f525c9d7 git remote add rgushchin https://github.com/rgushchin/linux.git git fetch --no-tags rgushchin percpu_shared.2 git checkout efe6d7239e3d87b8818881d246ebae29f525c9d7 # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/swap.h:9, from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets.c:13: >> include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled' 1645 | static inline bool mem_cgroup_kmem_disabled(void) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/memcontrol.h:1104:20: note: previous definition of 'mem_cgroup_kmem_disabled' was here 1104 | static inline bool mem_cgroup_kmem_disabled(void) | ^~~~~~~~~~~~~~~~~~~~~~~~ -- In file included from include/linux/swap.h:9, from include/linux/suspend.h:5, from arch/x86/kernel/asm-offsets.c:13: >> include/linux/memcontrol.h:1645:20: error: redefinition of 'mem_cgroup_kmem_disabled' 1645 | static inline bool mem_cgroup_kmem_disabled(void) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/memcontrol.h:1104:20: note: previous definition of 'mem_cgroup_kmem_disabled' was here 1104 | static inline bool mem_cgroup_kmem_disabled(void) | ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:116: arch/x86/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [Makefile:1235: prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:215: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/mem_cgroup_kmem_disabled +1645 include/linux/memcontrol.h 1643 1644 #else > 1645 static inline bool mem_cgroup_kmem_disabled(void) 1646 { 1647 return true; 1648 } 1649 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org