summaryrefslogtreecommitdiff
path: root/fs/ksmbd
diff options
context:
space:
mode:
authorPer Forlin <perfn@axis.com>2021-08-30 13:23:04 +0900
committerSteve French <stfrench@microsoft.com>2021-09-03 23:29:45 -0500
commitd475866eeed89cc44ed54e0cd296537a68667b1b (patch)
tree1a393d15d04d3bb788f4df6996fbe89a093728da /fs/ksmbd
parent28a5d3de9d65058f7edf8e5aaaf6b0a8d8f4a29f (diff)
downloadlwn-d475866eeed89cc44ed54e0cd296537a68667b1b.tar.gz
lwn-d475866eeed89cc44ed54e0cd296537a68667b1b.zip
ksmbd: Reduce error log 'speed is unknown' to debug
This log happens on servers with a network bridge since the bridge does not have a specified link speed. This is not a real error so change the error log to debug instead. Signed-off-by: Per Forlin <perfn@axis.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd')
-rw-r--r--fs/ksmbd/smb2pdu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ksmbd/smb2pdu.c b/fs/ksmbd/smb2pdu.c
index e2224b91d4a5..a350e1cef7f4 100644
--- a/fs/ksmbd/smb2pdu.c
+++ b/fs/ksmbd/smb2pdu.c
@@ -7111,8 +7111,8 @@ static int fsctl_query_iface_info_ioctl(struct ksmbd_conn *conn,
netdev->ethtool_ops->get_link_ksettings(netdev, &cmd);
speed = cmd.base.speed;
} else {
- pr_err("%s %s\n", netdev->name,
- "speed is unknown, defaulting to 1Gb/sec");
+ ksmbd_debug(SMB, "%s %s\n", netdev->name,
+ "speed is unknown, defaulting to 1Gb/sec");
speed = SPEED_1000;
}