linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nfs:testing 10/10] net/sunrpc/xprt.c:1948:2: error: implicit declaration of function 'xprt_destroy_backchannel'; did you mean 'xprt_setup_backchannel'?
@ 2019-10-16 22:45 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-16 22:45 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: kbuild-all, linux-nfs

[-- Attachment #1: Type: text/plain, Size: 1894 bytes --]

tree:   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git testing
head:   92c132e8330968a43558b0b513c626fe29c9aa4a
commit: 92c132e8330968a43558b0b513c626fe29c9aa4a [10/10] SUNRPC: Destroy the back channel when we destroy the host transport
config: i386-defconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
        git checkout 92c132e8330968a43558b0b513c626fe29c9aa4a
        # save the attached .config to linux build tree
        make ARCH=i386 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   net/sunrpc/xprt.c: In function 'xprt_destroy_cb':
>> net/sunrpc/xprt.c:1948:2: error: implicit declaration of function 'xprt_destroy_backchannel'; did you mean 'xprt_setup_backchannel'? [-Werror=implicit-function-declaration]
     xprt_destroy_backchannel(xprt, UINT_MAX);
     ^~~~~~~~~~~~~~~~~~~~~~~~
     xprt_setup_backchannel
   cc1: some warnings being treated as errors

vim +1948 net/sunrpc/xprt.c

  1933	
  1934	static void xprt_destroy_cb(struct work_struct *work)
  1935	{
  1936		struct rpc_xprt *xprt =
  1937			container_of(work, struct rpc_xprt, task_cleanup);
  1938	
  1939		rpc_xprt_debugfs_unregister(xprt);
  1940		rpc_destroy_wait_queue(&xprt->binding);
  1941		rpc_destroy_wait_queue(&xprt->pending);
  1942		rpc_destroy_wait_queue(&xprt->sending);
  1943		rpc_destroy_wait_queue(&xprt->backlog);
  1944		kfree(xprt->servername);
  1945		/*
  1946		 * Destroy any existing back channel
  1947		 */
> 1948		xprt_destroy_backchannel(xprt, UINT_MAX);
  1949	
  1950		/*
  1951		 * Tear down transport state and free the rpc_xprt
  1952		 */
  1953		xprt->ops->destroy(xprt);
  1954	}
  1955	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28153 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-16 22:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16 22:45 [nfs:testing 10/10] net/sunrpc/xprt.c:1948:2: error: implicit declaration of function 'xprt_destroy_backchannel'; did you mean 'xprt_setup_backchannel'? kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).