All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dave Wysochanski <dwysocha@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	David Howells <dhowells@redhat.com>
Subject: [dhowells-fs:fscache-rewrite 64/69] fs/nfs/file.c:87:9: error: implicit declaration of function 'nfs_fscache_release_file'; did you mean 'nfs_fscache_release_page'?
Date: Fri, 10 Dec 2021 09:00:58 +0800	[thread overview]
Message-ID: <202112100804.nksO8K4u-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-rewrite
head:   82abe23a0865faea23cf06ac51f2303f26b9bb53
commit: 57858b0feb9a11f6d9b5720cdd13222098f9e59f [64/69] nfs: Convert to new fscache volume/cookie API
config: nds32-defconfig (https://download.01.org/0day-ci/archive/20211210/202112100804.nksO8K4u-lkp@intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.2.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/dhowells/linux-fs.git/commit/?id=57858b0feb9a11f6d9b5720cdd13222098f9e59f
        git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
        git fetch --no-tags dhowells-fs fscache-rewrite
        git checkout 57858b0feb9a11f6d9b5720cdd13222098f9e59f
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   fs/nfs/file.c: In function 'nfs_file_release':
>> fs/nfs/file.c:87:9: error: implicit declaration of function 'nfs_fscache_release_file'; did you mean 'nfs_fscache_release_page'? [-Werror=implicit-function-declaration]
      87 |         nfs_fscache_release_file(inode, filp);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~
         |         nfs_fscache_release_page
   cc1: some warnings being treated as errors


vim +87 fs/nfs/file.c

    79	
    80	int
    81	nfs_file_release(struct inode *inode, struct file *filp)
    82	{
    83		dprintk("NFS: release(%pD2)\n", filp);
    84	
    85		nfs_inc_stats(inode, NFSIOS_VFSRELEASE);
    86		nfs_file_clear_open_context(filp);
  > 87		nfs_fscache_release_file(inode, filp);
    88		return 0;
    89	}
    90	EXPORT_SYMBOL_GPL(nfs_file_release);
    91	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [dhowells-fs:fscache-rewrite 64/69] fs/nfs/file.c:87:9: error: implicit declaration of function 'nfs_fscache_release_file'; did you mean 'nfs_fscache_release_page'?
Date: Fri, 10 Dec 2021 09:00:58 +0800	[thread overview]
Message-ID: <202112100804.nksO8K4u-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-rewrite
head:   82abe23a0865faea23cf06ac51f2303f26b9bb53
commit: 57858b0feb9a11f6d9b5720cdd13222098f9e59f [64/69] nfs: Convert to new fscache volume/cookie API
config: nds32-defconfig (https://download.01.org/0day-ci/archive/20211210/202112100804.nksO8K4u-lkp(a)intel.com/config)
compiler: nds32le-linux-gcc (GCC) 11.2.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/dhowells/linux-fs.git/commit/?id=57858b0feb9a11f6d9b5720cdd13222098f9e59f
        git remote add dhowells-fs https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
        git fetch --no-tags dhowells-fs fscache-rewrite
        git checkout 57858b0feb9a11f6d9b5720cdd13222098f9e59f
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   fs/nfs/file.c: In function 'nfs_file_release':
>> fs/nfs/file.c:87:9: error: implicit declaration of function 'nfs_fscache_release_file'; did you mean 'nfs_fscache_release_page'? [-Werror=implicit-function-declaration]
      87 |         nfs_fscache_release_file(inode, filp);
         |         ^~~~~~~~~~~~~~~~~~~~~~~~
         |         nfs_fscache_release_page
   cc1: some warnings being treated as errors


vim +87 fs/nfs/file.c

    79	
    80	int
    81	nfs_file_release(struct inode *inode, struct file *filp)
    82	{
    83		dprintk("NFS: release(%pD2)\n", filp);
    84	
    85		nfs_inc_stats(inode, NFSIOS_VFSRELEASE);
    86		nfs_file_clear_open_context(filp);
  > 87		nfs_fscache_release_file(inode, filp);
    88		return 0;
    89	}
    90	EXPORT_SYMBOL_GPL(nfs_file_release);
    91	

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

             reply	other threads:[~2021-12-10  1:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10  1:00 kernel test robot [this message]
2021-12-10  1:00 ` [dhowells-fs:fscache-rewrite 64/69] fs/nfs/file.c:87:9: error: implicit declaration of function 'nfs_fscache_release_file'; did you mean 'nfs_fscache_release_page'? 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=202112100804.nksO8K4u-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dhowells@redhat.com \
    --cc=dwysocha@redhat.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /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.