From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [dhowells-fs:fscache-rewrite 65/69] fs/nfs/file.c:435:16: error: implicit declaration of function 'nfs_fscache_release_page'; did you mean 'nfs_release_page'?
Date: Fri, 10 Dec 2021 09:51:51 +0800 [thread overview]
Message-ID: <202112100957.2oEDT20W-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-rewrite
head: 82abe23a0865faea23cf06ac51f2303f26b9bb53
commit: f6770459bb519747a01e91834f88ac82299a47de [65/69] nfs: Implement cache I/O by accessing the cache directly
config: nds32-defconfig (https://download.01.org/0day-ci/archive/20211210/202112100957.2oEDT20W-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=f6770459bb519747a01e91834f88ac82299a47de
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 f6770459bb519747a01e91834f88ac82299a47de
# 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_open_file'? [-Werror=implicit-function-declaration]
87 | nfs_fscache_release_file(inode, filp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| nfs_fscache_open_file
fs/nfs/file.c: In function 'nfs_release_page':
>> fs/nfs/file.c:435:16: error: implicit declaration of function 'nfs_fscache_release_page'; did you mean 'nfs_release_page'? [-Werror=implicit-function-declaration]
435 | return nfs_fscache_release_page(page, gfp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| nfs_release_page
cc1: some warnings being treated as errors
vim +435 fs/nfs/file.c
cd52ed35535ef4 Trond Myklebust 2006-03-20 421
6b9b3514aa1881 David Howells 2009-04-03 422 /*
6b9b3514aa1881 David Howells 2009-04-03 423 * Attempt to release the private state associated with a page
545db45f0fc0d4 David Howells 2009-04-03 424 * - Called if either PG_private or PG_fscache is set on the page
6b9b3514aa1881 David Howells 2009-04-03 425 * - Caller holds page lock
6b9b3514aa1881 David Howells 2009-04-03 426 * - Return true (may release page) or false (may not)
6b9b3514aa1881 David Howells 2009-04-03 427 */
cd52ed35535ef4 Trond Myklebust 2006-03-20 428 static int nfs_release_page(struct page *page, gfp_t gfp)
cd52ed35535ef4 Trond Myklebust 2006-03-20 429 {
b7eaefaa8722fd Chuck Lever 2008-06-11 430 dfprintk(PAGECACHE, "NFS: release_page(%p)\n", page);
b7eaefaa8722fd Chuck Lever 2008-06-11 431
e3db7691e9f3df Trond Myklebust 2007-01-10 432 /* If PagePrivate() is set, then the page is not freeable */
545db45f0fc0d4 David Howells 2009-04-03 433 if (PagePrivate(page))
ddeff520f02b92 Nikita Danilov 2006-08-09 434 return 0;
545db45f0fc0d4 David Howells 2009-04-03 @435 return nfs_fscache_release_page(page, gfp);
e3db7691e9f3df Trond Myklebust 2007-01-10 436 }
e3db7691e9f3df Trond Myklebust 2007-01-10 437
:::::: The code at line 435 was first introduced by commit
:::::: 545db45f0fc0d4203b045047798ce156972a3056 NFS: FS-Cache page management
:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>
---
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 65/69] fs/nfs/file.c:435:16: error: implicit declaration of function 'nfs_fscache_release_page'; did you mean 'nfs_release_page'?
Date: Fri, 10 Dec 2021 09:51:51 +0800 [thread overview]
Message-ID: <202112100957.2oEDT20W-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3797 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git fscache-rewrite
head: 82abe23a0865faea23cf06ac51f2303f26b9bb53
commit: f6770459bb519747a01e91834f88ac82299a47de [65/69] nfs: Implement cache I/O by accessing the cache directly
config: nds32-defconfig (https://download.01.org/0day-ci/archive/20211210/202112100957.2oEDT20W-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=f6770459bb519747a01e91834f88ac82299a47de
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 f6770459bb519747a01e91834f88ac82299a47de
# 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_open_file'? [-Werror=implicit-function-declaration]
87 | nfs_fscache_release_file(inode, filp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| nfs_fscache_open_file
fs/nfs/file.c: In function 'nfs_release_page':
>> fs/nfs/file.c:435:16: error: implicit declaration of function 'nfs_fscache_release_page'; did you mean 'nfs_release_page'? [-Werror=implicit-function-declaration]
435 | return nfs_fscache_release_page(page, gfp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| nfs_release_page
cc1: some warnings being treated as errors
vim +435 fs/nfs/file.c
cd52ed35535ef4 Trond Myklebust 2006-03-20 421
6b9b3514aa1881 David Howells 2009-04-03 422 /*
6b9b3514aa1881 David Howells 2009-04-03 423 * Attempt to release the private state associated with a page
545db45f0fc0d4 David Howells 2009-04-03 424 * - Called if either PG_private or PG_fscache is set on the page
6b9b3514aa1881 David Howells 2009-04-03 425 * - Caller holds page lock
6b9b3514aa1881 David Howells 2009-04-03 426 * - Return true (may release page) or false (may not)
6b9b3514aa1881 David Howells 2009-04-03 427 */
cd52ed35535ef4 Trond Myklebust 2006-03-20 428 static int nfs_release_page(struct page *page, gfp_t gfp)
cd52ed35535ef4 Trond Myklebust 2006-03-20 429 {
b7eaefaa8722fd Chuck Lever 2008-06-11 430 dfprintk(PAGECACHE, "NFS: release_page(%p)\n", page);
b7eaefaa8722fd Chuck Lever 2008-06-11 431
e3db7691e9f3df Trond Myklebust 2007-01-10 432 /* If PagePrivate() is set, then the page is not freeable */
545db45f0fc0d4 David Howells 2009-04-03 433 if (PagePrivate(page))
ddeff520f02b92 Nikita Danilov 2006-08-09 434 return 0;
545db45f0fc0d4 David Howells 2009-04-03 @435 return nfs_fscache_release_page(page, gfp);
e3db7691e9f3df Trond Myklebust 2007-01-10 436 }
e3db7691e9f3df Trond Myklebust 2007-01-10 437
:::::: The code at line 435 was first introduced by commit
:::::: 545db45f0fc0d4203b045047798ce156972a3056 NFS: FS-Cache page management
:::::: TO: David Howells <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2021-12-10 1:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-10 1:51 kernel test robot [this message]
2021-12-10 1:51 ` [dhowells-fs:fscache-rewrite 65/69] fs/nfs/file.c:435:16: error: implicit declaration of function 'nfs_fscache_release_page'; did you mean 'nfs_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=202112100957.2oEDT20W-lkp@intel.com \
--to=lkp@intel.com \
--cc=dhowells@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.