All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dominique Martinet <dominique.martinet@atmark-techno.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.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
Date: Tue, 28 Sep 2021 06:42:08 +0800	[thread overview]
Message-ID: <202109280601.1ToYubOV-lkp@intel.com> (raw)

[-- 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 --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.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
Date: Tue, 28 Sep 2021 06:42:08 +0800	[thread overview]
Message-ID: <202109280601.1ToYubOV-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2739 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(a)lists.01.org

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

             reply	other threads:[~2021-09-27 22:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-27 22:42 kernel test robot [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109280601.1ToYubOV-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dominique.martinet@atmark-techno.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.