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>
This commit is contained in:
parent
28a5d3de9d
commit
d475866eee
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user