* [mmotm:master 72/152] fs/notify/group.c:41:3: error: implicit declaration of function 'mem_cgroup_put'
@ 2018-02-23 23:45 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-02-23 23:45 UTC (permalink / raw)
To: Shakeel Butt
Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3096 bytes --]
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-u0-02240046 (attached as .config)
compiler: gcc-5 (Debian 5.5.0-3) 5.4.1 20171010
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' [-Werror=implicit-function-declaration]
mem_cgroup_put(group->memcg);
^
Cyclomatic Complexity 5 include/linux/compiler.h:__read_once_size
Cyclomatic Complexity 5 include/linux/compiler.h:__write_once_size
Cyclomatic Complexity 1 arch/x86/include/asm/bitops.h:fls64
Cyclomatic Complexity 1 include/linux/log2.h:__ilog2_u64
Cyclomatic Complexity 1 include/linux/list.h:INIT_LIST_HEAD
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:atomic_read
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:atomic_set
Cyclomatic Complexity 1 include/asm-generic/getorder.h:__get_order
Cyclomatic Complexity 1 include/linux/err.h:ERR_PTR
Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_check
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_lock
Cyclomatic Complexity 1 include/linux/spinlock.h:spin_unlock
Cyclomatic Complexity 56 include/linux/slab.h:kmalloc_index
Cyclomatic Complexity 68 include/linux/slab.h:kmalloc_large_memcg
Cyclomatic Complexity 9 include/linux/slab.h:kmalloc_memcg
Cyclomatic Complexity 1 include/linux/slab.h:kmalloc
Cyclomatic Complexity 1 include/linux/slab.h:kzalloc
Cyclomatic Complexity 1 include/linux/refcount.h:refcount_set
Cyclomatic Complexity 5 fs/notify/group.c:fsnotify_final_destroy_group
Cyclomatic Complexity 1 fs/notify/group.c:fsnotify_group_stop_queueing
Cyclomatic Complexity 1 fs/notify/group.c:fsnotify_get_group
Cyclomatic Complexity 2 fs/notify/group.c:fsnotify_put_group
Cyclomatic Complexity 5 fs/notify/group.c:fsnotify_destroy_group
Cyclomatic Complexity 3 fs/notify/group.c:fsnotify_alloc_group
Cyclomatic Complexity 2 fs/notify/group.c:fsnotify_fasync
cc1: some warnings being treated as errors
vim +/mem_cgroup_put +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 #2: .config.gz --]
[-- Type: application/gzip, Size: 24664 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-23 23:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 23:45 [mmotm:master 72/152] fs/notify/group.c:41:3: error: implicit declaration of function 'mem_cgroup_put' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox