From patchwork Wed Sep 1 00:45:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Namjae Jeon X-Patchwork-Id: 1522775 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-cifs-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4GzljF29Kqz9sR4 for ; Wed, 1 Sep 2021 10:45:53 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241501AbhIAAqr (ORCPT ); Tue, 31 Aug 2021 20:46:47 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:36739 "EHLO mail-pf1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238552AbhIAAqq (ORCPT ); Tue, 31 Aug 2021 20:46:46 -0400 Received: by mail-pf1-f182.google.com with SMTP id m26so727996pff.3 for ; Tue, 31 Aug 2021 17:45:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JV0WCEhB/Kc3myQjMq8D4oG0RP5CmI2Y28yZb9soXjk=; b=NxbKFvn2jCeEP5xNL3tJh5ii8PVqrIcOctftspyZyErVd707EPOeiTS5+Y7pGAWerV 1K0vEG4LN/K5GTXZFVqV1VqkFd3Aps1+xRdD7gZ+NPnVVtCDv0iz3Um2JW15cWaFsrJz dAkX/HpiF4UUEjn8h/COqD3KZbIcr8QRkHbQWLDhjOEPj5GvsCx8T6NLVu27n9tDbRSU X5+KBgXV6dY4+l/2jBjAEWyaMTuALxkeHWGCQIjbl+MdujRPy7wiAR1xcFVmQz/RNi0u bs2XuUl/Td6yVXNIPWgY7M6/wtWsRt5x8tw+DmWnkSdVPNqfU+I2edgnxFdX5Zt5wp6C apUA== X-Gm-Message-State: AOAM530Co6jr9j50f9Scrw7R+vCf79Q+Nry2IYem9ukcGfntwZ2nk2wm 2O68KYlIKHs6hfexmMAigQJOzxGGgmjQ0w== X-Google-Smtp-Source: ABdhPJz/wvenMYfBF9u0um7YGmNSiwsd0ufB31zQcg6jWBB3EyjyFE3TRWA08NHXes4dVNr55YOxpg== X-Received: by 2002:a63:d40a:: with SMTP id a10mr27547796pgh.7.1630457150589; Tue, 31 Aug 2021 17:45:50 -0700 (PDT) Received: from localhost.localdomain ([61.74.27.164]) by smtp.gmail.com with ESMTPSA id gg22sm3849024pjb.19.2021.08.31.17.45.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Aug 2021 17:45:50 -0700 (PDT) From: Namjae Jeon To: linux-cifs@vger.kernel.org Cc: Per Forlin , Namjae Jeon Subject: [PATCH 1/4] ksmbd: Reduce error log 'speed is unknown' to debug Date: Wed, 1 Sep 2021 09:45:34 +0900 Message-Id: <20210901004537.45511-1-linkinjeon@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org From: Per Forlin 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 Signed-off-by: Namjae Jeon --- fs/ksmbd/smb2pdu.c | 4 ++-- 1 file 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; }