Skip to content

Commit

Permalink
cifs: minor fix to two debug messages
Browse files Browse the repository at this point in the history
Joe Perches pointed out that we were missing a newline
at the end of two debug messages

Reported-by: Joe Perches <[email protected]>
Signed-off-by: Steve French <[email protected]>
  • Loading branch information
Steve French committed Jun 1, 2020
1 parent a0a3036 commit adbb2da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion fs/cifs/smb2pdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit adbb2da

Please sign in to comment.