[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109280601.1ToYubOV-lkp@intel.com>
Date: Tue, 28 Sep 2021 06:42:08 +0800
From: kernel test robot <lkp@...el.com>
To: Dominique Martinet <dominique.martinet@...ark-techno.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [martinetd:fscache 2/2] fs/9p/vfs_addr.c:73: warning: expecting
prototype for v9fs_req_ceanup(). Prototype was for v9fs_req_cleanup()
instead
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@...el.com>
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@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (33235 bytes)
Powered by blists - more mailing lists