tree: git://git.cmpxchg.org/linux-mmotm.git master head: 5b220005fda0593464fc4549eea586e597bf783c commit: f62fce7f6f7a699b0f98cadca266ccbd393c025b [132/276] mm: memcontrol: re-use global VM event enum config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout f62fce7f6f7a699b0f98cadca266ccbd393c025b # save the attached .config to linux build tree make ARCH=i386 Note: the mmotm/master HEAD 5b220005fda0593464fc4549eea586e597bf783c builds fine. It only hurts bisectibility. All error/warnings (new ones prefixed by >>): In file included from include/linux/swap.h:8:0, from include/linux/suspend.h:4, from arch/x86/kernel/asm-offsets.c:12: >> include/linux/memcontrol.h:594:14: warning: 'enum memcg_event_item' declared inside parameter list will not be visible outside of this definition or declaration enum memcg_event_item event) ^~~~~~~~~~~~~~~~ >> include/linux/memcontrol.h:594:31: error: parameter 2 ('event') has incomplete type enum memcg_event_item event) ^~~~~ >> include/linux/memcontrol.h:593:20: error: function declaration isn't a prototype [-Werror=strict-prototypes] static inline void mem_cgroup_event(struct mem_cgroup *memcg, ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make[2]: Target '__build' not remade because of errors. make[1]: *** [prepare0] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [sub-make] Error 2 vim +594 include/linux/memcontrol.h 587 588 static inline bool mem_cgroup_disabled(void) 589 { 590 return true; 591 } 592 > 593 static inline void mem_cgroup_event(struct mem_cgroup *memcg, > 594 enum memcg_event_item event) 595 { 596 } 597 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip