From: kernel test robot <lkp@intel.com>
To: Olga Kornievskaia <kolga@netapp.com>
Cc: kbuild-all@lists.01.org,
Linux Memory Management List <linux-mm@kvack.org>,
Anna Schumaker <Anna.Schumaker@Netapp.com>
Subject: [linux-next:master 11662/12034] fs/nfs/nfs4proc.c:4008:5: warning: no previous prototype for 'nfs4_discover_trunking'
Date: Wed, 12 Jan 2022 20:22:24 +0800 [thread overview]
Message-ID: <202201122057.R2oS1YYE-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 32ce2abb03cfae17a9eb42bd6b1b619b72f23f20
commit: 82ebfb0d633383ee00156e2b5bfa9ddf8c550b65 [11662/12034] NFSv4.1 query for fs_location attr on a new file system
config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/20220112/202201122057.R2oS1YYE-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=82ebfb0d633383ee00156e2b5bfa9ddf8c550b65
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 82ebfb0d633383ee00156e2b5bfa9ddf8c550b65
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/nfs/
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/nfs/nfs4proc.c:4008:5: warning: no previous prototype for 'nfs4_discover_trunking' [-Wmissing-prototypes]
4008 | int nfs4_discover_trunking(struct nfs_server *server, struct nfs_fh *fhandle)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/nfs4_discover_trunking +4008 fs/nfs/nfs4proc.c
4007
> 4008 int nfs4_discover_trunking(struct nfs_server *server, struct nfs_fh *fhandle)
4009 {
4010 struct nfs4_exception exception = {
4011 .interruptible = true,
4012 };
4013 struct nfs_client *clp = server->nfs_client;
4014 int err = 0;
4015
4016 if (!nfs4_has_session(clp))
4017 goto out;
4018 do {
4019 err = nfs4_handle_exception(server,
4020 _nfs4_discover_trunking(server, fhandle),
4021 &exception);
4022 } while (exception.retry);
4023 out:
4024 return err;
4025 }
4026
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-12 12:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202201122057.R2oS1YYE-lkp@intel.com \
--to=lkp@intel.com \
--cc=Anna.Schumaker@Netapp.com \
--cc=kbuild-all@lists.01.org \
--cc=kolga@netapp.com \
--cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox