Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2572110yba; Mon, 6 May 2019 08:10:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyR/SrRWplPZfPEEJZEFF8QInj1aRC92Yz51sdGd9MADQLBv0FPbitCNvFgUkFPqtzsK/j5 X-Received: by 2002:a65:62d2:: with SMTP id m18mr32588223pgv.122.1557155433223; Mon, 06 May 2019 08:10:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557155433; cv=none; d=google.com; s=arc-20160816; b=ZKY6d/JV4Arn0iolnnzK2gbsEqLoO9/EwaCNS+ojumEa6v3Lifbwov+Hdxj1qReNKi QDcoz1Akr7F+JbOBPOl3PU1Dh1uC26xr2EJKVpzYtSI4f18ho1k5m4smvBpTrsn4KSrY LctFezCmHQJKq+bLI0bDjBhbcJcEnBQHiRveWaa/9UkKOjPbhjlgla152fCifrJA0l6x y8GHWdJqOh5X3wNCWPqFNAnYHEypK2+o+pv2VgNT2AkERbh5ow+Zt6Ao14C78l0GZY7Z +zbNOnTTD+7yJ8Qrc69tMEc/EFMA1J5xYhHaRM8Jbkl8UWs5U3Bmy5QlzcOl/cX7Jm+M pjDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=AW1PqCRJ2v+Oi9L9fH3wvEPkzi2zPde8PHR/V7HMoao=; b=ct9MfzktKvTlRDTla4Olq0zPCrSOUW0/kqn7iV5hbjWCGz0whpbhVA4wfBVyYJMJWC DTZf2YfScXZO8ktvo1tZ1hlPNOdi6SgiQNX4krFJ+qUcJLVXEK7Jte+C88yUk6mstUpt H7FHr3znQWME2aU0OZN5Bx4ACeIUPYulXKBuLb0HGuSiJj9QkUNutvjGY+IWELXdp4UC xnxcP0kyvevDs3RAzoDXNOpmFbYe9N/IfMbEWsuovVWL1ToKdQhvGZHisFvr6XQ/SUe2 hZsr1ZrkIPbnnpDIgSowCLJr5M3Nt3bTNq/GQnYee4pZy4mqSXJczTo6HnGPzEctp0XP oIIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L4agL4tm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m134si15544353pga.588.2019.05.06.08.10.16; Mon, 06 May 2019 08:10:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=L4agL4tm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbfEFOfx (ORCPT + 99 others); Mon, 6 May 2019 10:35:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:55990 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727000AbfEFOfr (ORCPT ); Mon, 6 May 2019 10:35:47 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 12891204EC; Mon, 6 May 2019 14:35:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557153347; bh=vDVKbKUUdwYRAUpcP5cBGCVWRh/XYy6oRPf0vncYxBQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L4agL4tm1XKB8OXJZBdErKzGBPgtVNuRCLpaM0vL+LsvKmr2hzvQl3DSwLfPPpFjf 6gUYOiWX+T2GspXsAWaEq8WPY8Ntm2jId4mDDFWcz9TakAWQ1IbF8DEfxOgxHOeeDk uhQcJBGLmvEAyqWlqNm4S2DVVXrhtNZ4sBTdswnA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Aaro Koskinen , "David S. Miller" , "Sasha Levin (Microsoft)" Subject: [PATCH 5.0 055/122] net: stmmac: dont log oversized frames Date: Mon, 6 May 2019 16:31:53 +0200 Message-Id: <20190506143059.898911910@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190506143054.670334917@linuxfoundation.org> References: <20190506143054.670334917@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 057a0c5642a2ff2db7c421cdcde34294a23bf37b ] This is log is harmful as it can trigger multiple times per packet. Delete it. Signed-off-by: Aaro Koskinen Signed-off-by: David S. Miller Signed-off-by: Sasha Levin (Microsoft) --- drivers/net/ethernet/stmicro/stmmac/norm_desc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/norm_desc.c b/drivers/net/ethernet/stmicro/stmmac/norm_desc.c index c55a9815b394..b7dd4e3c760d 100644 --- a/drivers/net/ethernet/stmicro/stmmac/norm_desc.c +++ b/drivers/net/ethernet/stmicro/stmmac/norm_desc.c @@ -91,8 +91,6 @@ static int ndesc_get_rx_status(void *data, struct stmmac_extra_stats *x, return dma_own; if (unlikely(!(rdes0 & RDES0_LAST_DESCRIPTOR))) { - pr_warn("%s: Oversized frame spanned multiple buffers\n", - __func__); stats->rx_length_errors++; return discard_frame; } -- 2.20.1