[nfs:testing 10/10] net/sunrpc/xprt.c:1948:2: error: implicit declaration of function 'xprt_destroy_backchannel'; did you mean 'xprt_setup_backchannel'?

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

 



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

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: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux