Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1229986iol; Fri, 10 Jun 2022 03:09:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1x9nd/QrQFM0+azjtsJhP4/yBgSJTUXk7KOWfh6IJOGXuClt7ALpO6Zh6hzGFYWOWQBmP X-Received: by 2002:a17:907:9813:b0:711:d5ac:b9ef with SMTP id ji19-20020a170907981300b00711d5acb9efmr21232629ejc.95.1654855741251; Fri, 10 Jun 2022 03:09:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654855741; cv=none; d=google.com; s=arc-20160816; b=qxHJBBHZhqIjg1bLsHXoNjj+l3/iCI7EBNSpE6adUzxzd5picEeHD5+7XaAY1LXVgN ABkXgGiIpFLMyvskiTqgzJJGZ8RpoexuavHH4Nk8orMTdsfoulILRcK0YE+YWT7LPrI3 aUw9a9SjYWV6b9TqrCmKx169ooFOayLO3GE19PMS63HHXu1Mr5HMaCmCU1fdibh4OTfc FXCkV4hggSoS1o8R3wNjY0SipbUhkqo1oBB8j+CpP/rI1AFsDdtORlWgyz/QQ2gtej66 QTNrt1ZtJ9+jq/gh8EP4/KXWUGINAZLtE7057TkGZ/YFVAiB8qGbXgcko9Jd8gFyyotE OCXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=6bKHI3BYamDJrd3wh7Ys3TU3h8kFQFGRg91vd2HbzlA=; b=0Hno8Uiv8Q1bPWfNws1bYIez010m1mhUyhSRtmha0YsyAxY8bCZIyUiUbx1K2jax0T nFFtHB7C+DaVBOPl0kCe7Ltwv/Z+qvOPljsZX53cgkJKaV5+IYp0z6FE7pyoFzubqqe9 Lh+YU30/eKncueiBwDfTDhl0NOLLHZtTaI7xD3ow+uhG56swa/tluPQzwTcMn2jA8+Oi py/XKo6QRuPjGDseuf24fSOOUEMScHMAnK+lf6LNUIhPzAUh1cC0pgSJznLkCUIpPKRa tZYeE/TMFaei1puKACBShiS6VKZaAkHKhLCit3mkjFoKDIYaSE14Tu5DAMFJch7vj6h4 VzFQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt36-20020a1709072da400b00711d84d041dsi16412509ejc.640.2022.06.10.03.08.35; Fri, 10 Jun 2022 03:09:01 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348788AbiFJJQu (ORCPT + 99 others); Fri, 10 Jun 2022 05:16:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347667AbiFJJPN (ORCPT ); Fri, 10 Jun 2022 05:15:13 -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 20BEC1CF935 for ; Fri, 10 Jun 2022 02:15:11 -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 928F461D54 for ; Fri, 10 Jun 2022 09:15:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7AB82C3411C; Fri, 10 Jun 2022 09:15:08 +0000 (UTC) Date: Fri, 10 Jun 2022 10:15:04 +0100 From: Catalin Marinas To: Alejandro Tafalla Cc: Will Deacon , ~postmarketos/upstreaming@lists.sr.ht, Mark Rutland , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/sysreg: Fix typo in Enum element regex Message-ID: References: <20220609204220.12112-1-atafalla@dnyon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220609204220.12112-1-atafalla@dnyon.com> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 On Thu, Jun 09, 2022 at 10:42:18PM +0200, Alejandro Tafalla wrote: > In the awk script, there was a typo with the comparison operator when > checking if the matched pattern is inside an Enum block. > This prevented the generation of the whole sysreg-defs.h header. > > Fixes: 66847e0618d7 ("arm64: Add sysreg header generation scripting") > Signed-off-by: Alejandro Tafalla > --- > arch/arm64/tools/gen-sysreg.awk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/tools/gen-sysreg.awk b/arch/arm64/tools/gen-sysreg.awk > index 89bfb74e28de..5c55509eb43f 100755 > --- a/arch/arm64/tools/gen-sysreg.awk > +++ b/arch/arm64/tools/gen-sysreg.awk > @@ -253,7 +253,7 @@ END { > next > } > > -/0b[01]+/ && block = "Enum" { > +/0b[01]+/ && block == "Enum" { This makes sense but I'm surprised that we haven't noticed it until now (maybe some awk versions treat it as a relational operator). -- Catalin