From patchwork Sat Oct 22 07:21:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7284 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1092241wrr; Sat, 22 Oct 2022 00:53:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5A5INBoThyIU0c4xmkDGqg/+Mss3m/3YtI+ScFD/CNoodykG6mhLcrnku7/gtUZaIKaH02 X-Received: by 2002:a63:d845:0:b0:44b:d074:97d with SMTP id k5-20020a63d845000000b0044bd074097dmr19912515pgj.32.1666425210975; Sat, 22 Oct 2022 00:53:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666425210; cv=none; d=google.com; s=arc-20160816; b=CyPqVUM803BQbsS4PLHjwUmmuqwEF3q3g/T1cB8/HKwf8vOFaJXAphjO8/Ls/rxFDD kcYPoECu2zj7jPuy5j/drdc+AbwXMPKKkN7IvGswZ6uf9yXjP7iPJUMLB9HreTGtORWC JOsHhnA2ugCjCYCGyYPzwPDZc0OFireGs1o4XjuUgsYSLEoiEtNHZg0xRxPLSGOYiUTl /0GtMuUZ2XcmdaEpf1vRbEvLXDRmFkl0kwVSEzIGLuANWJWS7PZJR1huL45rOOax1QO7 fneCaBe30Ws+7osGxYGszyWYxmrSh7BjTdorCdfxUqKn4YyikQO09UcpAku1o+hlea2X kWJQ== 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=IG2WVYxCzK188S2vcWhHG3/HqhsCzmgVdUhTuEUnz4KOjrbqqfUpbdINDUoS4R0Yqy 1h7WCaoFCi1ejwE/peYewgVBtE1NHhoim423OY6GqqjlYimUpZAYL4YZi/EQ8zH5xdU6 D5YyuJtBWYK6KdvmvIIdOYGcIzUOggRNGXPxBlinZCkpcTMP20n6DFni2QXcIzQJYFva vQysPXH3AeW0Xzp+e8xTYkFRftIJ+hc4QTe88kTvbtsQdpLXbByyOyuem6rMyK1pR4wb ti2gPVeGGZRDS6IfmG4k90VoU1g8u4UOwSnW+XGVbcNhWkFVUdekVIMDpYChrOnPo+3Y ZAPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qHYB11H5; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a17090aee8700b0020d67aeb299si1983536pjz.53.2022.10.22.00.53.18; Sat, 22 Oct 2022 00:53:30 -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=qHYB11H5; 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 S231933AbiJVHxD (ORCPT + 99 others); Sat, 22 Oct 2022 03:53:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231617AbiJVHt7 (ORCPT ); Sat, 22 Oct 2022 03:49:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3A9F2C1715; Sat, 22 Oct 2022 00:46:12 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 3E12B60B9B; Sat, 22 Oct 2022 07:43:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ECE1C433D6; Sat, 22 Oct 2022 07:43:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666424597; bh=c/sCNq7gkDPOwlsgPsrYGZOsvI3vWJnfm+lWwWvTG3M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qHYB11H5JycVoxhWUr4MpJL08ImvJvHosrqpBW6OPyNB3JNpEsuYI08CaOplEJIci YB9rQJ6Qd6oJI0mA6DuvB+v1NpkEqsO7EbKUdmpIhVh0OBIJQ88e1gHFP9it1D93PL rGEWvuBFkdfb+kCyW2OQRWj7KmIgWTPe3MclINVk= 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 5.19 206/717] tsnep: Fix TSNEP_INFO_TX_TIME register define Date: Sat, 22 Oct 2022 09:21:25 +0200 Message-Id: <20221022072451.769700798@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747373482329512845?= X-GMAIL-MSGID: =?utf-8?q?1747373482329512845?= 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