* [vfs:work.mkdir 12/16] include/linux/fs.h:695:9: error: void value not ignored as it ought to be
@ 2018-07-06 18:08 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-07-06 18:08 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.mkdir
head: c11d902d3db0ab337cb8181e9aa73d5d162dc234
commit: fddf6b99216274bd005e486e51e2644ba261bf08 [12/16] new helper: inode_fake_hash()
config: x86_64-randconfig-x015-201826 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
git checkout fddf6b99216274bd005e486e51e2644ba261bf08
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from include/linux/cgroup.h:17:0,
from include/linux/memcontrol.h:22,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
include/linux/fs.h: In function 'inode_fake_hash':
>> include/linux/fs.h:695:9: error: void value not ignored as it ought to be
return hlist_add_fake(&inode->i_hash);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [sub-make] Error 2
vim +695 include/linux/fs.h
686
687 /*
688 * __mark_inode_dirty expects inodes to be hashed. Since we don't
689 * want special inodes in the fileset inode space, we make them
690 * appear hashed, but do not put on any lists. hlist_del()
691 * will work fine and require no locking.
692 */
693 static inline int inode_fake_hash(struct inode *inode)
694 {
> 695 return hlist_add_fake(&inode->i_hash);
696 }
697
---
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: 29271 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-06 18:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-06 18:08 [vfs:work.mkdir 12/16] include/linux/fs.h:695:9: error: void value not ignored as it ought to be 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;
as well as URLs for NNTP newsgroup(s).