public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [martinetd:fscache 2/2] fs/9p/vfs_addr.c:73: warning: expecting prototype for v9fs_req_ceanup(). Prototype was for v9fs_req_cleanup() instead
@ 2021-09-27 22:42 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-09-27 22:42 UTC (permalink / raw)
  To: Dominique Martinet; +Cc: llvm, kbuild-all, linux-kernel

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

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@intel.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

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

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

only message in thread, other threads:[~2021-09-27 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-27 22:42 [martinetd:fscache 2/2] fs/9p/vfs_addr.c:73: warning: expecting prototype for v9fs_req_ceanup(). Prototype was for v9fs_req_cleanup() instead 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