* [linux-next:master 5061/5571] fs/cifs/smbdirect.c:1465:24: sparse: symbol '_smbd_get_connection' was not declared. Should it be static?
@ 2017-12-18 13:30 kbuild test robot
2017-12-18 13:30 ` [RFC PATCH linux-next] CIFS: SMBD: _smbd_get_connection() can be static kbuild test robot
0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2017-12-18 13:30 UTC (permalink / raw)
To: Long Li
Cc: kbuild-all, Steve French, Pavel Shilovsky, linux-cifs,
samba-technical, linux-kernel
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 53600ecfb6004f355bd3551bee180caf4b42d7a7
commit: 07495ff5d9bc753b5cc4cd26c355bf186e865892 [5061/5571] CIFS: SMBD: Establish SMB Direct connection
reproduce:
# apt-get install sparse
git checkout 07495ff5d9bc753b5cc4cd26c355bf186e865892
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC PATCH linux-next] CIFS: SMBD: _smbd_get_connection() can be static
2017-12-18 13:30 [linux-next:master 5061/5571] fs/cifs/smbdirect.c:1465:24: sparse: symbol '_smbd_get_connection' was not declared. Should it be static? kbuild test robot
@ 2017-12-18 13:30 ` kbuild test robot
2017-12-18 21:44 ` Long Li
2018-01-03 23:15 ` Steve French
0 siblings, 2 replies; 4+ messages in thread
From: kbuild test robot @ 2017-12-18 13:30 UTC (permalink / raw)
To: Long Li
Cc: kbuild-all, Steve French, Pavel Shilovsky, linux-cifs,
samba-technical, linux-kernel
Fixes: 07495ff5d9bc ("CIFS: SMBD: Establish SMB Direct connection")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
smbdirect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c
index 2ecd5c1..62a5c3f 100644
--- a/fs/cifs/smbdirect.c
+++ b/fs/cifs/smbdirect.c
@@ -1462,7 +1462,7 @@ static int allocate_caches_and_workqueue(struct smbd_connection *info)
}
/* 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;
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [RFC PATCH linux-next] CIFS: SMBD: _smbd_get_connection() can be static
2017-12-18 13:30 ` [RFC PATCH linux-next] CIFS: SMBD: _smbd_get_connection() can be static kbuild test robot
@ 2017-12-18 21:44 ` Long Li
2018-01-03 23:15 ` Steve French
1 sibling, 0 replies; 4+ messages in thread
From: Long Li @ 2017-12-18 21:44 UTC (permalink / raw)
To: kbuild test robot
Cc: kbuild-all@01.org, Steve French, Pavel Shilovskiy,
linux-cifs@vger.kernel.org, samba-technical@lists.samba.org,
linux-kernel@vger.kernel.org
> Fixes: 07495ff5d9bc ("CIFS: SMBD: Establish SMB Direct connection")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Long Li <longli@microsoft.com>
Thanks.
> ---
> smbdirect.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c index 2ecd5c1..62a5c3f
> 100644
> --- a/fs/cifs/smbdirect.c
> +++ b/fs/cifs/smbdirect.c
> @@ -1462,7 +1462,7 @@ static int allocate_caches_and_workqueue(struct
> smbd_connection *info) }
>
> /* 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;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH linux-next] CIFS: SMBD: _smbd_get_connection() can be static
2017-12-18 13:30 ` [RFC PATCH linux-next] CIFS: SMBD: _smbd_get_connection() can be static kbuild test robot
2017-12-18 21:44 ` Long Li
@ 2018-01-03 23:15 ` Steve French
1 sibling, 0 replies; 4+ messages in thread
From: Steve French @ 2018-01-03 23:15 UTC (permalink / raw)
To: kbuild test robot
Cc: Long Li, kbuild-all, Pavel Shilovsky, CIFS, samba-technical, LKML
merged into cifs-2.6.git for-next thx
On Mon, Dec 18, 2017 at 7:30 AM, kbuild test robot
<fengguang.wu@intel.com> wrote:
>
> Fixes: 07495ff5d9bc ("CIFS: SMBD: Establish SMB Direct connection")
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
> smbdirect.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/cifs/smbdirect.c b/fs/cifs/smbdirect.c
> index 2ecd5c1..62a5c3f 100644
> --- a/fs/cifs/smbdirect.c
> +++ b/fs/cifs/smbdirect.c
> @@ -1462,7 +1462,7 @@ static int allocate_caches_and_workqueue(struct smbd_connection *info)
> }
>
> /* 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;
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-01-03 23:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-18 13:30 [linux-next:master 5061/5571] fs/cifs/smbdirect.c:1465:24: sparse: symbol '_smbd_get_connection' was not declared. Should it be static? kbuild test robot
2017-12-18 13:30 ` [RFC PATCH linux-next] CIFS: SMBD: _smbd_get_connection() can be static kbuild test robot
2017-12-18 21:44 ` Long Li
2018-01-03 23:15 ` Steve French
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).