[linux-next:master 11662/12034] fs/nfs/nfs4proc.c:4008:5: warning: no previous prototype for 'nfs4_discover_trunking'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx>

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@xxxxxxxxxxxx




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux