[linux-next:master 7194/7206] mm/memcontrol.c:4243:10: error: too many arguments to function 'memcg_propagate_kmem'

[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:   f7ac28a6971b43a2ee8bb47c0ef931b38f7888cf
commit: a5ed904c50398922239b05e7f97c02c47cd9ae35 [7194/7206] mm: memcontrol: clean up alloc, online, offline, free functions
config: i386-randconfig-r0-201550 (attached as .config)
reproduce:
        git checkout a5ed904c50398922239b05e7f97c02c47cd9ae35
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   mm/memcontrol.c: In function 'memcg_update_kmem_limit':
   mm/memcontrol.c:2989:9: error: implicit declaration of function 'memcg_online_kmem' [-Werror=implicit-function-declaration]
      ret = memcg_online_kmem(memcg);
            ^
   mm/memcontrol.c: In function 'mem_cgroup_css_alloc':
>> mm/memcontrol.c:4243:10: error: too many arguments to function 'memcg_propagate_kmem'
     error = memcg_propagate_kmem(parent, memcg);
             ^
   mm/memcontrol.c:2962:12: note: declared here
    static int memcg_propagate_kmem(struct mem_cgroup *memcg)
               ^
   cc1: some warnings being treated as errors

vim +/memcg_propagate_kmem +4243 mm/memcontrol.c

  4237		/* The following stuff does not apply to the root */
  4238		if (!parent) {
  4239			root_mem_cgroup = memcg;
  4240			return &memcg->css;
  4241		}
  4242	
> 4243		error = memcg_propagate_kmem(parent, memcg);
  4244		if (error)
  4245			goto fail;
  4246	

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

Attachment: .config.gz
Description: Binary data


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