From: kernel test robot <lkp@intel.com>
To: Olga Kornievskaia <kolga@netapp.com>
Cc: llvm@lists.linux.dev, 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 function 'nfs4_discover_trunking'
Date: Wed, 12 Jan 2022 21:04:34 +0800 [thread overview]
Message-ID: <202201122054.45b1t1el-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: i386-randconfig-a011 (https://download.01.org/0day-ci/archive/20220112/202201122054.45b1t1el-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 244dd2913a43a200f5a6544d424cdc37b771028b)
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/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
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 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 function 'nfs4_discover_trunking' [-Wmissing-prototypes]
int nfs4_discover_trunking(struct nfs_server *server, struct nfs_fh *fhandle)
^
fs/nfs/nfs4proc.c:4008:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int nfs4_discover_trunking(struct nfs_server *server, struct nfs_fh *fhandle)
^
static
1 warning generated.
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 13:04 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=202201122054.45b1t1el-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 \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox