Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp789697iol; Thu, 9 Jun 2022 14:08:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw++rNR3FV0SIud7Bm/BkWZAeFiGx1K+m9E2iRqBDZVKc/OE4s0rhQTt9parsOydc77TXSs X-Received: by 2002:a05:6402:3586:b0:42e:2a6a:218b with SMTP id y6-20020a056402358600b0042e2a6a218bmr41523094edc.208.1654808916309; Thu, 09 Jun 2022 14:08:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654808916; cv=none; d=google.com; s=arc-20160816; b=gMXAWcZ7T78Tj1DQaGCDa9v8G39iBK/87SlELxw+ATqx/inagO8kilV3t9O8XoHCjm lrXx0kWaX1Mg0Yf1S+VceH6+s+HP+1hw9J71xkWLytJNpp+9/pejKLUTDlUNdJ+sh8Wm KxZ2G4o/iFo1Rauuv3yRGjUKvbdv6xI8DLd8kNx1/Oslt1frAi/mTx4ouao8cN19XOuw zcWHHhypRbbcV0jeJVoj7aR6QJT2+qxQSlPa8TGGU3nXtWc4kzGGyRAxH4yF2VinBA+R rAYl5pGfzJs04Sm/4h6VGJ0KBmYwaHrP/GLh8LeO5BWz9P1wHKiG5ph/6Gx4N+DXcZdO Vjqg== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=LufUAn5YvFBdhASMJ7T+XNC1dyVcdaaZDK75mPJeApQ=; b=Eb/whjEG+YuDn60TiT4reqzi9kUmJMYtWOdRvJkSJ9hQH+0NWJgMTF8IG0JLivvxD9 N9CN5nwrsdzEcqnc8/pRYUKha1Ty7SPR9S3+5zBZUxLrjbp9ZTIzlJaqyLjISQZaQZMw dwcubXiIkUtOc+lnM4gZOJhpKBhY5Cd686iBeLqGJA8T8hbPmJtUk8ZFU9gBrCIepxSQ zXT8BM39hyghY/IAUi5CUf6ynIjq69R5vq8Vh1RtuNcN833L/QHUfwEt7UBruM4qo4y8 LW+dvk23LsPWCwLQaM4hwTX9f+ypchucuzARDGAAWJ7/t/8ES5/nI9m07HUEQ6Pw7XLy uP3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@dnyon.com header.s=mail header.b=hdG6ol6a; dkim=temperror (no key for signature) header.i=@dnyon.com header.s=mail header.b=BBKZUexg; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc23-20020a1709071c1700b006f464aa6a8csi6651509ejc.587.2022.06.09.14.08.10; Thu, 09 Jun 2022 14:08:36 -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=temperror (no key for signature) header.i=@dnyon.com header.s=mail header.b=hdG6ol6a; dkim=temperror (no key for signature) header.i=@dnyon.com header.s=mail header.b=BBKZUexg; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344826AbiFIUsp (ORCPT + 99 others); Thu, 9 Jun 2022 16:48:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232983AbiFIUso (ORCPT ); Thu, 9 Jun 2022 16:48:44 -0400 X-Greylist: delayed 357 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 09 Jun 2022 13:48:41 PDT Received: from dnyon.com (dnyon.com [142.132.167.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6019518ADB0 for ; Thu, 9 Jun 2022 13:48:39 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by dnyon.com (Postfix) with ESMTP id 224455F2AE; Thu, 9 Jun 2022 20:42:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dnyon.com; s=mail; t=1654807359; bh=p9XvnEkj1RVqj8MmuG7tTTn6LRlcraWnGnErsk5JDSE=; h=From:To:Cc:Subject:Date:From; b=hdG6ol6agScOIyIzXZtH7R2PkZArGokK10WVqg+voD6Ho1ze8ZYWvTM7uHsIGoI3V +0Ts/sSp29+LkTJ9rO8ofbrpN/gBx9LODlrPh3W1JhaqLgN859/BRnv0pvRzNWVctA R2EgY6Z7c7VqlYL1ncB3CNA7jjF2LdKIjCpCTzf8PqAV24SapJSEJvI67LeaSWYl9L qqmt3G3pP1wzlerQq1SAJRUisdJ4tAb4Av6nhep4Cfn+sVRhmaVBGkyJst8tGmFseR l621nrm3oziyxJkukg6DlzDzX8e1S4iibuOwn5TXdozYOlHI44ft2Mh5hXlRfFQJGt A32Oiktwexk/w== Received: from dnyon.com by localhost (amavisd-new, unix socket) with LMTP id OlTK52l_5q6i; Thu, 9 Jun 2022 20:42:38 +0000 (UTC) Received: from dnyon.com (43.red-88-5-137.dynamicip.rima-tde.net [88.5.137.43]) by dnyon.com (Postfix) with ESMTPSA id 06DCB5F10F; Thu, 9 Jun 2022 20:42:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dnyon.com; s=mail; t=1654807358; bh=p9XvnEkj1RVqj8MmuG7tTTn6LRlcraWnGnErsk5JDSE=; h=From:To:Cc:Subject:Date:From; b=BBKZUexg0IyeOrSHUgFNWadLJRty2BgD0zYDSFliUGxFKr5zZEglnjT+I1kemRtXl jAjD6FqIOq5ElX1wQiSj290kc9lf0/tNCfEOhAJCyTfwriYhNYOlqcQ0QxVK05VPYW iLF/lznf933MTG0WWVxnGWA+XwEt+KuQ+u9XEP+lS+r/zrd/8e9YrdD/Cyc+6PK01L IUv50l9zeAXI93nE/SBdmqh9JkiHFeWUEOOLTZp/O6o4xifgpqy1u1b2S/wZ+TNfg9 Rbbgv0/Ni7tXqMYSO9HVgphPXJkX0qq8YrM185z7jmJc/x6b9T11W+QF+JEMSYpvxt jIsfYtiGl7zCQ== From: Alejandro Tafalla To: Catalin Marinas , Will Deacon Cc: Alejandro Tafalla , ~postmarketos/upstreaming@lists.sr.ht, Mark Rutland , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64/sysreg: Fix typo in Enum element regex Date: Thu, 9 Jun 2022 22:42:18 +0200 Message-Id: <20220609204220.12112-1-atafalla@dnyon.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no 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 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" { expect_fields(2) val = $1 name = $2 -- 2.36.1