From: kbuild test robot Date: Mon, 18 Dec 2017 13:30:06 +0000 (+0800) Subject: CIFS: SMBD: _smbd_get_connection() can be static X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9084432c316b76f697732ac806f706a5a436aae1;p=openwrt%2Fstaging%2Fblogic.git CIFS: SMBD: _smbd_get_connection() can be static Fixes: 07495ff5d9bc ("CIFS: SMBD: Establish SMB Direct connection") Signed-off-by: Fengguang Wu Signed-off-by: Steve French Acked-by: Long Li --- diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c index 731577d4317f..f527e22650f5 100644 --- a/fs/cifs/smbdirect.c +++ b/fs/cifs/smbdirect.c @@ -1599,7 +1599,7 @@ out1: } /* Create a SMBD connection, called by upper layer */ -struct smbd_connection *_smbd_get_connection( +static struct smbd_connection *_smbd_get_connection( struct TCP_Server_Info *server, struct sockaddr *dstaddr, int port) { int rc;