* [linux-next:master 6336/6533] fs/dcache.c:278:22: error: implicit declaration of function 'kmalloc_index'; did you mean 'kmalloc_node'?
@ 2018-03-12 9:31 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-03-12 9:31 UTC (permalink / raw)
To: Roman Gushchin; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 1683 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c6f1a8c953479b390458e36fb838d96199a5f466
commit: 8b1747684ff8239adff317da592a2d49f17b00a3 [6336/6533] dcache: account external names as indirectly reclaimable memory
config: i386-randconfig-n0-03121123 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
git checkout 8b1747684ff8239adff317da592a2d49f17b00a3
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
fs/dcache.c: In function '__d_free_external':
>> fs/dcache.c:278:22: error: implicit declaration of function 'kmalloc_index'; did you mean 'kmalloc_node'? [-Werror=implicit-function-declaration]
-kmalloc_size(kmalloc_index(bytes)));
^~~~~~~~~~~~~
kmalloc_node
cc1: some warnings being treated as errors
vim +278 fs/dcache.c
268
269 static void __d_free_external(struct rcu_head *head)
270 {
271 struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu);
272 struct external_name *name = external_name(dentry);
273 unsigned long bytes;
274
275 bytes = dentry->d_name.len + offsetof(struct external_name, name[1]);
276 mod_node_page_state(page_pgdat(virt_to_page(name)),
277 NR_INDIRECTLY_RECLAIMABLE_BYTES,
> 278 -kmalloc_size(kmalloc_index(bytes)));
279
280 kfree(name);
281 kmem_cache_free(dentry_cache, dentry);
282 }
283
---
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: 32706 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-12 9:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-12 9:31 [linux-next:master 6336/6533] fs/dcache.c:278:22: error: implicit declaration of function 'kmalloc_index'; did you mean 'kmalloc_node'? 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