* [vfs:work.open 39/44] include/linux/file.h:24:38: warning: 'struct inode' declared inside parameter list
@ 2018-06-09 15:21 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-06-09 15:21 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.open
head: 956b068e4bed1c13d0218ea7afaaa9ea0d345fc2
commit: 2e0cc644dea0b2f616879145cc0dd6c43373c475 [39/44] new wrapper: alloc_file_pseudo()
config: i386-randconfig-a0-201822 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 2e0cc644dea0b2f616879145cc0dd6c43373c475
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from include/linux/dma-buf.h:27:0,
from drivers/gpu/drm/drm_prime.c:30:
>> include/linux/file.h:24:38: warning: 'struct inode' declared inside parameter list
const char *, fmode_t, const struct file_operations *);
^
>> include/linux/file.h:24:38: warning: its scope is only this definition or declaration, which is probably not what you want
vim +24 include/linux/file.h
16
17 struct file_operations;
18 struct vfsmount;
19 struct dentry;
20 struct path;
21 extern struct file *alloc_file(const struct path *, fmode_t mode,
22 const struct file_operations *fop);
23 extern struct file *alloc_file_pseudo(struct inode *, struct vfsmount *,
> 24 const char *, fmode_t, const struct file_operations *);
25
---
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: 28871 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-09 15:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-09 15:21 [vfs:work.open 39/44] include/linux/file.h:24:38: warning: 'struct inode' declared inside parameter list 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).