Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1304283iol; Fri, 10 Jun 2022 04:55:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVwzHDGzeH2p73ZoYVLAAJ05FrXji7lnITXZC7oIjvT0iwf42yBCHVhiYJF1DyJkhJz2Xs X-Received: by 2002:a17:902:e891:b0:167:5d51:f381 with SMTP id w17-20020a170902e89100b001675d51f381mr32832145plg.75.1654862155249; Fri, 10 Jun 2022 04:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654862155; cv=none; d=google.com; s=arc-20160816; b=quk76dDXa46pqg/U5O+Yvozjxb5GxNLx4i/0ZiNSW/vfZFCu4OneypM1MpsPAZF4Sh 0Betz8K4TSLHs3XoLDO5HEWvf1eWfbV89GrZHRVAGZnrwbvhzmygQn7gqeKQciOMCqSN r0YNmCF+aKwNhzR/pPkxNbmNiU408Uq1e5HWxUrQe7UocozZrOCeoTdgwiLSjzbS43KE k6tSWY0KjTsNfOXseD1w4NEy4NB8LmdkQvZvJfTB25x6MKitHFFcC4A0eCGUvhm8tjJQ 8aDUevApN+TsDMK+vOmU+MS1T6xsbyNmMa41WwUle3XDh/gLrHMLFF4rZuJOsQjlgjoM WKCw== 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:dkim-signature; bh=KAlRZ4yMKB09qBCMFkJ1IIuBOpieAqkFnbvKggFZq+g=; b=TuLbGED+/jIwHWf40RBj4j0rScX9VL5n3GE/prfLMGpblCFDEmgBm/HxcBqaVX1Fhk 3b2/nrRbM/tI+FFP4dgJfciGhAwRR2LZO3JZsdXLImeUgvQVqb/umE3QilIlWi1RX5he 0z0nlBG1xxX3zlD5r/5QouW33mKFpfQUqVy2NzedjwH33Dk+VPNtHq/9w0az5ViBNQdh EVE6gb4yQs4AAq0Z+c/ZWB0kFMm5+pNoVFrhvNut363ZcWuysc5YN7n1xP8BIzif7fJK jcu/JKfjFzaYV6gDIVac3vjvzPBDq2Y/jUSxmx09R3nSbNeQXBqLThZkvRA1v8Oo6lQb VLtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rL2wrxmw; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf1-20020a170902b90100b00161e5dcc680si20713607plb.358.2022.06.10.04.55.37; Fri, 10 Jun 2022 04:55:55 -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=@kernel.org header.s=k20201202 header.b=rL2wrxmw; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348518AbiFJLT7 (ORCPT + 99 others); Fri, 10 Jun 2022 07:19:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239722AbiFJLT5 (ORCPT ); Fri, 10 Jun 2022 07:19:57 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D1DB14B647 for ; Fri, 10 Jun 2022 04:19:56 -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 11EF961FF1 for ; Fri, 10 Jun 2022 11:19:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D002AC34114; Fri, 10 Jun 2022 11:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654859995; bh=KAlRZ4yMKB09qBCMFkJ1IIuBOpieAqkFnbvKggFZq+g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rL2wrxmwKdiCzXju301IYhEDbvkruwG2iJs3v42igxsYc4F8FUCOf6IMYiDkCqV3/ lUod7HCj/jSfvHe9H3WltjxR5uigyhxyEBF3f2ttu08ZeKXrC9oDF0i7GsCmAgxG2S q14k2m/LGyJzFJll03bJBZFLNPJXoDClxaq24CZNkJOfPyQBVmR/jeVSuLAX+lOIKS sskzN0YG9WGHJQQ5uCm3lg8OGnAhH7GFB93Onpi75EH4AcvfopI2BW8bpf7ykY4/al OeKHU+BDBztOb6xodCF311Dno6U0bqPcVveagwySmLMHZI8csQ3rCYF9O6XySoEny5 xQQtgIgS50oMQ== Date: Fri, 10 Jun 2022 12:19:50 +0100 From: Mark Brown To: Catalin Marinas Cc: Alejandro Tafalla , 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 Message-ID: References: <20220609204220.12112-1-atafalla@dnyon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Jxd/oy2jPK+b7V+i" Content-Disposition: inline In-Reply-To: X-Cookie: Teachers have class. X-Spam-Status: No, score=-8.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,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 --Jxd/oy2jPK+b7V+i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --Jxd/oy2jPK+b7V+i Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmKjKNUACgkQJNaLcl1U h9AMIwf/eYpMYBHkr5v/mGTOxTIeRcCffY2jzjF8cFtIr8SYwAdSdYWaO609ZPgd Dhi5lfCuq62uNTzyvimDMB7ZjuP9Y+s4fInm891igADTUS1p7L1IG8g1zjTWlmKc Kr4mlLjHqahktGMvYevAYy3BJ8VHtF5IMfoot6r/SRfIpzsoIhb2oWG84DbT4axH wsSnXGHuEz/UCV/q0GAhmY/iRByKwp4GlwG8sayByWLgxo50hu3B/B0pnmNgylBA 8Tdr4log1c9V2J9VwAFiXScdZn2HjveYl2JTPGg3lZiHBh16jobf1g8rqZim7dAa HXmskkiEefM4JADNZowdp3nAqSv1mw== =vlBZ -----END PGP SIGNATURE----- --Jxd/oy2jPK+b7V+i--