Received: by 10.223.185.116 with SMTP id b49csp6356002wrg; Wed, 28 Feb 2018 08:05:42 -0800 (PST) X-Google-Smtp-Source: AH8x225BKxfkJi49r6SJ2YZgRpCB5/lGjQh0merJI+pNOA/j7lMu+mvJoTvP5s5m0xhCor9nNu6U X-Received: by 2002:a17:902:981:: with SMTP id 1-v6mr18738460pln.345.1519833942507; Wed, 28 Feb 2018 08:05:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519833942; cv=none; d=google.com; s=arc-20160816; b=FVFArAEt0SRnj5zBQ0w8PhC1vy6pT04xkK8CZK+ss1OoE0as5DBZ2cmsbPj4GC2401 XRR/ScymC39ZsgCxZ3WFkzKA+QO7FE0GzSaxTlLH1CBlsEch0tmH8BM1tWwa16zl5t2N pw2OI94QNNLRTZibs2mqFpmNVUx3RHOPYh9tTRk1ul94ywYNUqlkTtObpgMHFxKBQWm0 me5oDq2KTTRHigqKcoJGLihZTIACke27Ibm1UpIxLTvvlEqXtFt0Av8ie3RuUxtalYyf KBfEGHFeTJRJQq85MqFJ8bUvWkciXvBjvu+F38ijV+c1oEdLbznuwft2GP5vGJJsXiuU ea3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=aJRXZX/NRkzInDXCMwjbDAPjZWcd15leYv/FUFXKVH0=; b=WHEq8OpXkCVmelH64E5pZvHzM9BN0qOM8LsGGTUCru3QY7erxeH8ytKSFKt7WHtRt3 AWHvMSEn983CxPIbtRiOVphHphb0QQPPI9MXOBvq+OYWQbeCrDmmPVtZthqpbhdgzns6 n1/pkwFyRbpmMel29B2HvFJAJib+Q8aNGpSV/kGBpFG+VDM9vDpDi02fMu6U9fEhKU/g g2LbkcjkJ4hQTmrVUN7mtzXBbvVfrCEXEXdgNOWh0R52BDORvQ4xLpBxlRTW+SObKp37 gSEH+HDVmsnP1w5t+P0lRgeFOUhz+rXNmQTMLy1CsEuovyMauy/QmT9omEFT3D0/FpoT N5jQ== ARC-Authentication-Results: i=1; mx.google.com; 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 d1si1158045pgn.661.2018.02.28.08.05.27; Wed, 28 Feb 2018 08:05:42 -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; 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 S1753216AbeB1QES (ORCPT + 99 others); Wed, 28 Feb 2018 11:04:18 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:34810 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753190AbeB1QEP (ORCPT ); Wed, 28 Feb 2018 11:04:15 -0500 Received: from [2a02:8011:400e:2:6f00:88c8:c921:d332] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1er3Yk-0006Xj-73; Wed, 28 Feb 2018 15:22:23 +0000 Received: from ben by deadeye with local (Exim 4.90_1) (envelope-from ) id 1er3Yj-0000Dd-0k; Wed, 28 Feb 2018 15:22:21 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "David S. Miller" , "Sergei Shtylyov" Date: Wed, 28 Feb 2018 15:20:18 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 184/254] sh_eth: fix TXALCR1 offsets In-Reply-To: X-SA-Exim-Connect-IP: 2a02:8011:400e:2:6f00:88c8:c921:d332 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.55-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Sergei Shtylyov commit 50f3d740d376f664f6accc7e86c9afd8f1c7e1e4 upstream. The TXALCR1 offsets are incorrect in the register offset tables, most probably due to copy&paste error. Luckily, the driver never uses this register. :-) Fixes: 4a55530f38e4 ("net: sh_eth: modify the definitions of register") Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/renesas/sh_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/ethernet/renesas/sh_eth.c +++ b/drivers/net/ethernet/renesas/sh_eth.c @@ -142,7 +142,7 @@ static const u16 sh_eth_offset_gigabit[S [FWNLCR0] = 0x0090, [FWALCR0] = 0x0094, [TXNLCR1] = 0x00a0, - [TXALCR1] = 0x00a0, + [TXALCR1] = 0x00a4, [RXNLCR1] = 0x00a8, [RXALCR1] = 0x00ac, [FWNLCR1] = 0x00b0, @@ -384,7 +384,7 @@ static const u16 sh_eth_offset_fast_sh3_ [FWNLCR0] = 0x0090, [FWALCR0] = 0x0094, [TXNLCR1] = 0x00a0, - [TXALCR1] = 0x00a0, + [TXALCR1] = 0x00a4, [RXNLCR1] = 0x00a8, [RXALCR1] = 0x00ac, [FWNLCR1] = 0x00b0,