From adbb2dafe732d4715a602ca727dedaa55c0df7a7 Mon Sep 17 00:00:00 2001 From: Steve French Date: Sat, 30 May 2020 16:45:11 -0500 Subject: [PATCH] cifs: minor fix to two debug messages Joe Perches pointed out that we were missing a newline at the end of two debug messages Reported-by: Joe Perches Signed-off-by: Steve French --- fs/cifs/cifssmb.c | 2 +- fs/cifs/smb2pdu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 5820f9569b7f..bf41ee048396 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -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); diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 4b79181ff872..06463f386a60 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c @@ -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);