[mmotm:master 72/152] fs/notify/group.c:41:3: error: implicit declaration of function 'mem_cgroup_put'; did you mean 'mem_cgroup_id'?

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

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   745388a34645dd2b69f5e7115ad47fea7a218726
commit: a12bdbf3bbc771ba3df7edf3bdc07c29b6587a23 [72/152] fs: fsnotify: account fsnotify metadata to kmemcg
config: x86_64-randconfig-a0-02221139 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout a12bdbf3bbc771ba3df7edf3bdc07c29b6587a23
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the mmotm/master HEAD 745388a34645dd2b69f5e7115ad47fea7a218726 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   fs/notify/group.c: In function 'fsnotify_final_destroy_group':
>> fs/notify/group.c:41:3: error: implicit declaration of function 'mem_cgroup_put'; did you mean 'mem_cgroup_id'? [-Werror=implicit-function-declaration]
      mem_cgroup_put(group->memcg);
      ^~~~~~~~~~~~~~
      mem_cgroup_id
   cc1: some warnings being treated as errors

vim +41 fs/notify/group.c

    31	
    32	/*
    33	 * Final freeing of a group
    34	 */
    35	static void fsnotify_final_destroy_group(struct fsnotify_group *group)
    36	{
    37		if (group->ops->free_group_priv)
    38			group->ops->free_group_priv(group);
    39	
    40		if (group->memcg)
  > 41			mem_cgroup_put(group->memcg);
    42	
    43		kfree(group);
    44	}
    45	

---
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