Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1142283rwi; Wed, 19 Oct 2022 07:12:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7QQt813xs8TTC8HMoq6GSPzD0ORqVqHdU6c9lu9PDDF5tDZtXGn2syCJasDCh6sKfO7k89 X-Received: by 2002:a17:902:e84a:b0:183:ee5e:fad0 with SMTP id t10-20020a170902e84a00b00183ee5efad0mr8785387plg.66.1666188753964; Wed, 19 Oct 2022 07:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666188753; cv=none; d=google.com; s=arc-20160816; b=jvJ6WTC9d8eIpvZxwOXMX0I2oiQCK5euau55zZoeujmxFbLE/hCttcK0VcS8RfhXLF pKeIO3ynvQAEsR64c2IhlOtwTOAp5ya0A7diDU/1iZG/s9GFzQgOiOl2t4k8RI778JjX +ouAfgGF8JGz1ljJOXi0W28S9s2mh62FqONf8b7O2GHSU3/XtNFB0VKyS+SJD7QZj83X rLz6bjqReYZkcH/LmD9rJ04Hr7debRXVCyRnkhVu2Dyw2MwEqUqna9q+R+ZCQs1C8x3K q9eAPPtwvxgzLy4guYUuLxD55QjjMni1g4WEEZTOgFAFmAV6sAyrkMmKbjiEucOz8wGy tIlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=xVaSAW6sWw+zbEBvbKS0owAphzDxOVcRN4lSYmKce7I=; b=hBPVTixnflUY0tJy2e/GY7ysVgm3oJN5trDEZl3AIPmRUj032YbqSt9KUQciJFh/mF 9KmP1akfeBBodnx5Wz7dpEYUavH9InnAk6dtTQxuIymR+KfA2Q64NruJwKXXfpwcqH6j IRQ9AERt4zlWTWE9VzwQ/ftjohLyZwGwVM8eNkm8K7fu8ia7WAniHqnGDWSsikiUNNwL HDPu++KVvna2uM48ag4NyEEQDuOK/yqSvJCH7BvJhjz0nsxACwlKUD/9HUucJ1+M6Ade TNnoauZGIRJngLDAtM/BUGTNOjMcIzP7sJbVVS9QNCKVbZws6sFRgyY3vgUcwwvoZNZx SLow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FbuyYs1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z10-20020a170902d54a00b001769f4909b4si18569820plf.356.2022.10.19.07.12.20; Wed, 19 Oct 2022 07:12:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=FbuyYs1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233807AbiJSN5B (ORCPT + 99 others); Wed, 19 Oct 2022 09:57:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233820AbiJSNyG (ORCPT ); Wed, 19 Oct 2022 09:54:06 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25A37193EFF; Wed, 19 Oct 2022 06:36:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3AEE8B82382; Wed, 19 Oct 2022 08:50:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8B3E7C433D6; Wed, 19 Oct 2022 08:50:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666169418; bh=c/sCNq7gkDPOwlsgPsrYGZOsvI3vWJnfm+lWwWvTG3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FbuyYs1slHVBT/0ahPQ/mds082rR6BQTBLr2s6jswltPX6pNpJr4/3bbcoPR6H5qM U8qGrKPlOsLpeSFKgzdBbHDZ4IxTzqJhd6lQFnwji7k8ndGkcj/BcBLOA9svmWZDcq 1LZHz0+VwPxFQNrObh5K2ZEsOaKTHC50KR33DhgM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Gerhard Engleder , "David S. Miller" , Sasha Levin Subject: [PATCH 6.0 235/862] tsnep: Fix TSNEP_INFO_TX_TIME register define Date: Wed, 19 Oct 2022 10:25:22 +0200 Message-Id: <20221019083300.424003623@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gerhard Engleder [ Upstream commit 7d8dd6b5cd1d67dd96c132f91d7ad29c49ed3c59 ] Fixed register define is not used, but register definition shall be kept in sync. Fixes: 403f69bbdbad ("tsnep: Add TSN endpoint Ethernet MAC driver") Signed-off-by: Gerhard Engleder Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/engleder/tsnep_hw.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/engleder/tsnep_hw.h b/drivers/net/ethernet/engleder/tsnep_hw.h index 916ceac3ada2..e03aaafab559 100644 --- a/drivers/net/ethernet/engleder/tsnep_hw.h +++ b/drivers/net/ethernet/engleder/tsnep_hw.h @@ -92,8 +92,7 @@ /* tsnep register */ #define TSNEP_INFO 0x0100 -#define TSNEP_INFO_RX_ASSIGN 0x00010000 -#define TSNEP_INFO_TX_TIME 0x00020000 +#define TSNEP_INFO_TX_TIME 0x00010000 #define TSNEP_CONTROL 0x0108 #define TSNEP_CONTROL_TX_RESET 0x00000001 #define TSNEP_CONTROL_TX_ENABLE 0x00000002 -- 2.35.1