[mmotm:master 240/250] fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type 'struct mem_cgroup'

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

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   37ec9d8b887635603a859a06aa0406342b1068d8
commit: 2f3ec8cccd4f452b30e98b7130b7b1a9b0535656 [240/250] fs: fsnotify: account fsnotify metadata to kmemcg
config: i386-randconfig-n0-201809 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 2f3ec8cccd4f452b30e98b7130b7b1a9b0535656
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   fs/notify/group.c: In function 'fsnotify_final_destroy_group':
>> fs/notify/group.c:41:24: error: dereferencing pointer to incomplete type 'struct mem_cgroup'
      css_put(&group->memcg->css);
                           ^~

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			css_put(&group->memcg->css);
    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