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:
.config.gz
Description: application/gzip