linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Roman Gushchin <guro@fb.com>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 3877/4648] include/linux/memcontrol.h:894:20: error: redefinition of 'mem_cgroup_put'
Date: Sat, 7 Jul 2018 19:58:59 +0800	[thread overview]
Message-ID: <201807071956.OynWFg0c%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1752 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 36288 bytes --]

                 reply	other threads:[~2018-07-07 11:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201807071956.OynWFg0c%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=guro@fb.com \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox