]> git.baikalelectronics.ru Git - kernel.git/commitdiff
cifs: minor fix to two debug messages
authorSteve French <stfrench@microsoft.com>
Sat, 30 May 2020 21:45:11 +0000 (16:45 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Jun 2020 05:10:18 +0000 (00:10 -0500)
Joe Perches pointed out that we were missing a newline
at the end of two debug messages

Reported-by: Joe Perches <joe@perches.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifssmb.c
fs/cifs/smb2pdu.c

index 5820f9569b7fe352d24c1d157aac615e5872a137..bf41ee048396d09b5484e41823d5980553d61179 100644 (file)
@@ -177,7 +177,7 @@ static int __cifs_reconnect_tcon(const struct nls_table *nlsc,
 
                if (dfs_host_len != tcp_host_len
                    || strncasecmp(dfs_host, tcp_host, dfs_host_len) != 0) {
-                       cifs_dbg(FYI, "%s: %.*s doesn't match %.*s",
+                       cifs_dbg(FYI, "%s: %.*s doesn't match %.*s\n",
                                 __func__,
                                 (int)dfs_host_len, dfs_host,
                                 (int)tcp_host_len, tcp_host);
index 4b79181ff872e56cd58bfb9dae49243aab3f43f8..06463f386a60c0aa7fc7879dac80be654af07404 100644 (file)
@@ -209,7 +209,7 @@ static int __smb2_reconnect(const struct nls_table *nlsc,
 
                if (dfs_host_len != tcp_host_len
                    || strncasecmp(dfs_host, tcp_host, dfs_host_len) != 0) {
-                       cifs_dbg(FYI, "%s: %.*s doesn't match %.*s",
+                       cifs_dbg(FYI, "%s: %.*s doesn't match %.*s\n",
                                 __func__,
                                 (int)dfs_host_len, dfs_host,
                                 (int)tcp_host_len, tcp_host);