Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1364862iol; Fri, 10 Jun 2022 06:08:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrkMTqKutgNBZ4dZOFJahLmDFNkhwSw1bSj99dU5lYMbdzjnsmMmqIRXCfHF4vNru7qNkH X-Received: by 2002:a17:902:8492:b0:167:6cbf:145b with SMTP id c18-20020a170902849200b001676cbf145bmr30562269plo.26.1654866525944; Fri, 10 Jun 2022 06:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654866525; cv=none; d=google.com; s=arc-20160816; b=YbC/cEszrIqvabFNFfNOHzDtJbbk4Aj2LjFOePVNgpeD9PAhvQaxCC2QhT4b2z1HAD i+tEYi8ETgWxJGL+dxRODqQk6EKOebTviD1y+z4q2qPJ+gZHOm7IDtSh/tzdEvj4eArg fj465s2vByNgLP8OyeXcW6K4phzv14ypfkPNBZkZZcjF2GHpfGYB9izVXrDyrzCILLlT dpps++UZYGchoX6cSEeeNag86wvvGm2vwDwSB1Y6ZuM3d+e6EgJJDdK2ZXgIiSdZN04+ KL/FTINOQdcaHDG0sBvCU/S2lY5qkLA4pSxQEnFs42ePzQhoH1eQeVfmbz7gYth1H5r/ iwDg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=hOs5VsnTwoNVI6QHllgU6kJ9E82d/sRYNvh6GBaWK/g=; b=HqqRfAaSldQcF79miaEnEH58FbYnVkTLgqBaP41FT8uMkwPxJBtiNGvE9cCY+pBcPF 3ZSaD/wzST0vVVw8/w3BWTqh3xB72XOOKQQ6X020+67pN2SsxBIpl0zhNJ41Dr6F99oL lquQ4I/cFOEkL0dYf15ofVx4EgCt0g6IE78cei9DFU6vCqTuiPZOJPgnaR2dDuPyybiw YTNvztPZOkLRZifjvDEh8La8m6IPs28U/lIGcjmjSarJ21yMzhlO1DJovFv/WBxF/nu2 WzbC+IKnsSL1BtzpXBw9287BLq8XGuO5TpGQ5gnlgno9DiIYHRhrszaQ/K+GiIOAn28N f8hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@dnyon.com header.s=mail header.b=xucxv35r; dkim=temperror (no key for signature) header.i=@dnyon.com header.s=mail header.b=xucxv35r; 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 lx16-20020a17090b4b1000b001cd46bee4c2si3778381pjb.7.2022.06.10.06.08.30; Fri, 10 Jun 2022 06:08:45 -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=xucxv35r; dkim=temperror (no key for signature) header.i=@dnyon.com header.s=mail header.b=xucxv35r; 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 S240740AbiFJMuq (ORCPT + 99 others); Fri, 10 Jun 2022 08:50:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343625AbiFJMu1 (ORCPT ); Fri, 10 Jun 2022 08:50:27 -0400 Received: from dnyon.com (dnyon.com [142.132.167.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 739A232ECC for ; Fri, 10 Jun 2022 05:50:25 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by dnyon.com (Postfix) with ESMTP id C66D15F2B5; Fri, 10 Jun 2022 12:50:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dnyon.com; s=mail; t=1654865423; bh=flH/0+64HwAQ7lE3Z5vuJ6QNCOk21fe4t375+QFJE8M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xucxv35rTLY2+LZapa8yH04nSBk4XqD2xEg83VUFzooLacQ8umX/SXfiEoafyWTJl xYpH+k7USc+PGC13nXhFMiItm9k3LOnLCNfh9hq/OmOlyDMomkVFHciL+Bsx4i0dDy 2Fv5ynDmCT1y0798837PcW1HGgnI7Twq1tLKWXcRs/Z9bNcJTr9QW5OhH5rU/ediYT VZ7HuDpQ/u1Fk204KRlOK8Vfn4F9RUxZVmwautpukOOSLSAVWvHtGIYRLAx/FtBS5m topGZVhvu3GAFlw+gU2p3+B1/fCh41Beirns1XObYbU2FVsOsYhuEXujOjUL+jzeJh lDOztlVUNXiDw== Received: from dnyon.com by localhost (amavisd-new, unix socket) with LMTP id rKwCbj4m4o9f; Fri, 10 Jun 2022 12:50:23 +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 904615F2B4; Fri, 10 Jun 2022 12:50:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dnyon.com; s=mail; t=1654865423; bh=flH/0+64HwAQ7lE3Z5vuJ6QNCOk21fe4t375+QFJE8M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xucxv35rTLY2+LZapa8yH04nSBk4XqD2xEg83VUFzooLacQ8umX/SXfiEoafyWTJl xYpH+k7USc+PGC13nXhFMiItm9k3LOnLCNfh9hq/OmOlyDMomkVFHciL+Bsx4i0dDy 2Fv5ynDmCT1y0798837PcW1HGgnI7Twq1tLKWXcRs/Z9bNcJTr9QW5OhH5rU/ediYT VZ7HuDpQ/u1Fk204KRlOK8Vfn4F9RUxZVmwautpukOOSLSAVWvHtGIYRLAx/FtBS5m topGZVhvu3GAFlw+gU2p3+B1/fCh41Beirns1XObYbU2FVsOsYhuEXujOjUL+jzeJh lDOztlVUNXiDw== From: "Alejandro T." To: Mark Brown Cc: Catalin Marinas , Will Deacon , ~postmarketos/upstreaming@lists.sr.ht, Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64/sysreg: Fix typo in Enum element regex Date: Fri, 10 Jun 2022 14:50:18 +0200 Message-ID: <13240249.uLZWGnKmhe@alexbook> In-Reply-To: References: <20220609204220.12112-1-atafalla@dnyon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 On viernes, 10 de junio de 2022 13:19:50 (CEST) Mark Brown wrote: > On Fri, Jun 10, 2022 at 10:15:04AM +0100, Catalin Marinas wrote: > > 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. > > > > > > -/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). > > What Catlain said - if we weren't generating the full header contents > I'd expect things to fail to build normally, but it's entirely possible > this is just happening to work with some implementations and the patch > is clearly correct. > > Reviewed-by: Mark Brown Hi Mark, thanks for your review. Indeed, I'm building the kernel in Alpine, which uses Busybox instead of gawk.