[linux-next:master 3877/4648] include/linux/memcontrol.h:894:20: error: redefinition of 'mem_cgroup_put'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   526674536360a4c508e84f67314c2028e45e1bf2
commit: b1a96dda9946f6911f0f353aa1dd382c0ce4deeb [3877/4648] mm, oom: cgroup-aware OOM killer
config: x86_64-randconfig-s0-06231156 (attached as .config)
compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026
reproduce:
        git checkout b1a96dda9946f6911f0f353aa1dd382c0ce4deeb
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the linux-next/master HEAD 526674536360a4c508e84f67314c2028e45e1bf2 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

   In file included from include/linux/swap.h:9:0,
                    from include/linux/suspend.h:5,
                    from arch/x86/kernel/asm-offsets.c:13:
>> include/linux/memcontrol.h:894:20: error: redefinition of 'mem_cgroup_put'
    static inline void mem_cgroup_put(struct mem_cgroup *memcg)
                       ^~~~~~~~~~~~~~
   include/linux/memcontrol.h:890:20: note: previous definition of 'mem_cgroup_put' was here
    static inline void mem_cgroup_put(struct mem_cgroup *memcg)
                       ^~~~~~~~~~~~~~
   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 +/mem_cgroup_put +894 include/linux/memcontrol.h

   893	
 > 894	static inline void mem_cgroup_put(struct mem_cgroup *memcg)
   895	{
   896	}
   897	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux