Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8095934imu; Tue, 4 Dec 2018 02:56:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/VGjT2RK/ai1dgwGbQAiEhVabmUBGHa1UAUEpzkBkSZBIRPgKv2rcRy/mlJBFn9SomRz1zQ X-Received: by 2002:a62:2c4d:: with SMTP id s74mr19373897pfs.6.1543920987191; Tue, 04 Dec 2018 02:56:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543920987; cv=none; d=google.com; s=arc-20160816; b=DxSCs2tTLTLMsB9jyI1szQpkwaLvxpqUbSenGmEdyuvBxrAWMbgCHmWOA3R6K/Zlcc IuEwDbTIzePleHKAaXisTasB5mcQWWqvQNAzLvUC5FBXNoEFmYBlBR68wTszJ28HjeA3 ZVUywEXl4rm8thxiJ5TKnAmB/Dy19UbxM2J6EY/mJr0BJHQD5oAD+8FIo2mnjz8DOmpd YXjNfXWwZ/5JG/wgLJg0/opouG6XeCD8R4CF+yQpD7lwX5sAIv/yVCor+xVL6NsAvj2L saJZGIdMBiLe2X0F8S+JB94zjNfXCHCERVc75ytOl50wB746IezojYVLMbldpUN/nY12 57PQ== 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=Okjm4psK9kzAueVMs/A7WqI39jJz8MKMZB6mofwI8MQ=; b=S7aknubZeRYDyVG+o1ugRrh+Qgap5JXKuQ6ya2JeRkT0V9R1iHliD7Nr4PyMPP4HIE b/BnzljEh5sn4OUGFVZWOKXABrS1NCA9Jj0/F4IwjOSjB4jI0kx8B3cpVf9s1NIJ6bl1 /gr+eAONkJrIde03UAk15LLQoQBzu+10Qr8xQtVkWVv5ReDaWpoJJpGD6lF61mLrayri KhR7jrqlMc6kc0p3Mrx8KEi2b5hKm66Wh9jb5Nmay0erXvDEjgTg3ZcBUI0JpGDRn0q7 5W6Ls3mcb0ESSqbP8Fn46XCH5YhynqN9DZ5uPgm7oOHyu7h5FG44SAvDEbWm0D6xQY0B xRFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="08V/3eWU"; 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 y11si14683028pgj.442.2018.12.04.02.56.12; Tue, 04 Dec 2018 02:56:27 -0800 (PST) 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="08V/3eWU"; 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 S1726245AbeLDKz2 (ORCPT + 99 others); Tue, 4 Dec 2018 05:55:28 -0500 Received: from mail.kernel.org ([198.145.29.99]:38204 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbeLDKzY (ORCPT ); Tue, 4 Dec 2018 05:55:24 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.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 E36C82146D; Tue, 4 Dec 2018 10:55:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543920924; bh=jXUTERnY2tceFqicq0ziEg34xm8fPQoLcYpTfL7ezjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=08V/3eWURJV2IsRsN1DPRKd+ZO3wruBfBpzl27F++JE2I3/PNqiNiTaCemjtSSgSO 3klxFicOXhVOxCrL1L+kdxFOnB5868YmijHdINTjBoLgHc2PjFsmuYcr2Jefj8oimD NRrALqXiZztQRQvhtLIJNngSqdxkeNcdv1xLsQwE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Andreas Fiedler , Linus Walleij , "David S. Miller" Subject: [PATCH 4.19 013/139] net: gemini: Fix copy/paste error Date: Tue, 4 Dec 2018 11:48:14 +0100 Message-Id: <20181204103650.532332859@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204103649.950154335@linuxfoundation.org> References: <20181204103649.950154335@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Andreas Fiedler [ Upstream commit 07093b76476903f820d83d56c3040e656fb4d9e3 ] The TX stats should be started with the tx_stats_syncp, there seems to be a copy/paste error in the driver. Signed-off-by: Andreas Fiedler Signed-off-by: Linus Walleij Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/cortina/gemini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/cortina/gemini.c +++ b/drivers/net/ethernet/cortina/gemini.c @@ -661,7 +661,7 @@ static void gmac_clean_txq(struct net_de u64_stats_update_begin(&port->tx_stats_syncp); port->tx_frag_stats[nfrags]++; - u64_stats_update_end(&port->ir_stats_syncp); + u64_stats_update_end(&port->tx_stats_syncp); } }