From: kbuild test robot <fengguang.wu@intel.com>
To: Shakeel Butt <shakeelb@google.com>
Cc: kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [mmotm:master 72/152] fs/notify/group.c:41:3: error: implicit declaration of function 'mem_cgroup_put'
Date: Sat, 24 Feb 2018 07:45:42 +0800 [thread overview]
Message-ID: <201802240739.vmRYjAwp%fengguang.wu@intel.com> (raw)
[-- 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 --]
reply other threads:[~2018-02-23 23:46 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=201802240739.vmRYjAwp%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=shakeelb@google.com \
/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