* [linux-next:master 11662/12034] fs/nfs/nfs4proc.c:4008:5: warning: no previous prototype for 'nfs4_discover_trunking'
@ 2022-01-12 12:22 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-12 12:22 UTC (permalink / raw)
To: Olga Kornievskaia
Cc: kbuild-all, Linux Memory Management List, Anna Schumaker
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [linux-next:master 11662/12034] fs/nfs/nfs4proc.c:4008:5: warning: no previous prototype for 'nfs4_discover_trunking'
@ 2022-01-12 12:22 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-01-12 12:22 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2087 bytes --]
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(a)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(a)lists.01.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-12 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12 12:22 [linux-next:master 11662/12034] fs/nfs/nfs4proc.c:4008:5: warning: no previous prototype for 'nfs4_discover_trunking' kernel test robot
2022-01-12 12:22 ` kernel test robot
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.