linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [miklos-vfs:fileattr_v4 22/23] fs/fuse/ioctl.c:403:19: warning: no previous prototype for 'fuse_priv_ioctl_prepare'
@ 2021-04-07 21:50 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-07 21:50 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: kbuild-all, linux-unionfs

[-- Attachment #1: Type: text/plain, Size: 2315 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git fileattr_v4
head:   621a35401402871cedd0fbd583bb2d0b961af609
commit: 37efe2f3c88fb040c7543f05b72a8c0589bbc447 [22/23] fuse: convert to fileattr
config: parisc-randconfig-r002-20210407 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git/commit/?id=37efe2f3c88fb040c7543f05b72a8c0589bbc447
        git remote add miklos-vfs https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git
        git fetch --no-tags miklos-vfs fileattr_v4
        git checkout 37efe2f3c88fb040c7543f05b72a8c0589bbc447
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> fs/fuse/ioctl.c:403:19: warning: no previous prototype for 'fuse_priv_ioctl_prepare' [-Wmissing-prototypes]
     403 | struct fuse_file *fuse_priv_ioctl_prepare(struct inode *inode)
         |                   ^~~~~~~~~~~~~~~~~~~~~~~
>> fs/fuse/ioctl.c:414:6: warning: no previous prototype for 'fuse_priv_ioctl_cleanup' [-Wmissing-prototypes]
     414 | void fuse_priv_ioctl_cleanup(struct inode *inode, struct fuse_file *ff)
         |      ^~~~~~~~~~~~~~~~~~~~~~~


vim +/fuse_priv_ioctl_prepare +403 fs/fuse/ioctl.c

   402	
 > 403	struct fuse_file *fuse_priv_ioctl_prepare(struct inode *inode)
   404	{
   405		struct fuse_mount *fm = get_fuse_mount(inode);
   406		bool isdir = S_ISDIR(inode->i_mode);
   407	
   408		if (!S_ISREG(inode->i_mode) && !isdir)
   409			return ERR_PTR(-ENOTTY);
   410	
   411		return fuse_file_open(fm, get_node_id(inode), O_RDONLY, isdir);
   412	}
   413	
 > 414	void fuse_priv_ioctl_cleanup(struct inode *inode, struct fuse_file *ff)
   415	{
   416		fuse_file_release(inode, ff, O_RDONLY, NULL, S_ISDIR(inode->i_mode));
   417	}
   418	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30057 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-07 21:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 21:50 [miklos-vfs:fileattr_v4 22/23] fs/fuse/ioctl.c:403:19: warning: no previous prototype for 'fuse_priv_ioctl_prepare' kernel 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).