[martinetd:fscache 2/2] fs/9p/vfs_addr.c:73: warning: expecting prototype for v9fs_req_ceanup(). Prototype was for v9fs_req_cleanup() instead

From: kernel test robot
Date: Mon Sep 27 2021 - 18:42:42 EST


tree: https://github.com/martinetd/linux.git fscache
head: d530a872d3f38a71598c4366ee7d57fceafb4514
commit: d530a872d3f38a71598c4366ee7d57fceafb4514 [2/2] 9p: add netfs read request cleanup op
config: riscv-randconfig-r042-20210927 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/martinetd/linux/commit/d530a872d3f38a71598c4366ee7d57fceafb4514
git remote add martinetd https://github.com/martinetd/linux.git
git fetch --no-tags martinetd fscache
git checkout d530a872d3f38a71598c4366ee7d57fceafb4514
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash fs/9p/

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

All warnings (new ones prefixed by >>):

>> fs/9p/vfs_addr.c:73: warning: expecting prototype for v9fs_req_ceanup(). Prototype was for v9fs_req_cleanup() instead
fs/9p/vfs_addr.c:115: warning: Function parameter or member 'file' not described in 'v9fs_vfs_readpage'
fs/9p/vfs_addr.c:115: warning: Excess function parameter 'filp' description in 'v9fs_vfs_readpage'
fs/9p/vfs_addr.c:135: warning: Function parameter or member 'page' not described in 'v9fs_release_page'
fs/9p/vfs_addr.c:135: warning: Function parameter or member 'gfp' not described in 'v9fs_release_page'
fs/9p/vfs_addr.c:157: warning: Function parameter or member 'length' not described in 'v9fs_invalidate_page'
fs/9p/vfs_addr.c:216: warning: Function parameter or member 'page' not described in 'v9fs_launder_page'
fs/9p/vfs_addr.c:245: warning: Function parameter or member 'iter' not described in 'v9fs_direct_IO'


vim +73 fs/9p/vfs_addr.c

66
67 /**
68 * v9fs_req_ceanup - Cleanup request initialized by v9fs_init_rreq
69 * @mapping: unused mapping of request to cleanup
70 * @priv: private data to cleanup, a fid, guaranted non-null.
71 */
72 static void v9fs_req_cleanup(struct address_space *mapping, void *priv)
> 73 {
74 struct p9_fid *fid = priv;
75 p9_client_clunk(fid);
76 }
77

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

Attachment: .config.gz
Description: application/gzip