From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 832E127726 for ; Wed, 15 Jan 2025 13:47:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736948866; cv=none; b=lS2VkDtIN1zPEJgQap1YaNlGJHVfGw7HauGoAVsEuDbA3+OiDtma8Y8S3oCujsCb0XqNrLax0iPxHyWY2sBp0zNO3aMoaBp1UFsCOeiIsvfVQPznHK5qhAC0b45WssQ1XW0/rYPmsXJw16LFHXVeigr7frQvAm70kM+0Lr2ZPOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736948866; c=relaxed/simple; bh=Bff821+58d0IihkVCe7FPlGHzlq7ALK5M0mZxwSUlO4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ABlWavDewA7DSq4/imPebaWqy4jmDQTo1MCTi+RWx+6ZpJQqh0RjxeDF5f99VLBjXRo1y5gxKkrAPghz20sJLgoZcU5h6UujAR1sBXJrOPZAhOZKuT8GOxZE56bTzwglxevGjlFUN0comrEYggEWjGSReiB654uibr4pCREjwlc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ru4aOHwA; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ru4aOHwA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7C99C4CED1; Wed, 15 Jan 2025 13:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1736948866; bh=Bff821+58d0IihkVCe7FPlGHzlq7ALK5M0mZxwSUlO4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ru4aOHwA349jC9tLmdR8GCz4OSh4k7wO9ixiwmHHCNfX+AQ8eCeZSinJ51XVixZab LgZQGyme2zEgSnjzc0xugTtJEjhSdINqEVQsON8GEpQFXchvE4fQZMS+0A0v0o+oUd jh+9YxzxRTsmhngrSgWWDVNb0dzXRtGtVkTVirjMWzsgJK4Z0j/I5Hg94oQl0Hvl56 TjDOMKjrTpDjYnFRYwf1EF5bFIrXQgUQbwsbXWIRKvYWFpVdxboxe/RCW7NMGp8xoi GwQcuLUjBtZNju3RptHFZLbagZTBvkJfl0ktFcU7D73M16AUVjTrag9jph0utf/OC7 nInTaYxJEsR9Q== Date: Wed, 15 Jan 2025 13:47:41 +0000 From: Mark Brown To: James Clark Cc: linux-arm-kernel@lists.infradead.org, robh@kernel.org, maz@kernel.org, Catalin Marinas , Will Deacon , Mark Rutland , Oliver Upton , Anshuman Khandual , James Morse , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] arm64/sysreg: Enforce whole line match for closing blocks Message-ID: References: <20250115134259.1864060-1-james.clark@linaro.org> <20250115134259.1864060-3-james.clark@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="26++BOMd+gcvTnyP" Content-Disposition: inline In-Reply-To: <20250115134259.1864060-3-james.clark@linaro.org> X-Cookie: Phasers locked on target, Captain. --26++BOMd+gcvTnyP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jan 15, 2025 at 01:42:54PM +0000, James Clark wrote: > Match on the whole line to prevent matching on prefixes like "Endsysreg" > vs "EndsysregFields". This could potentially make the script go wrong > in weird ways so make it fall through to the fatal unhandled statement > catcher if it doesn't fully match the current block. Reviewed-by: Mark Brown --26++BOMd+gcvTnyP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmeHvHwACgkQJNaLcl1U h9Cugwf/TQBZ1NLJdphvcHQX86XL/6PMVi/mcpYZDX8UOcKww/noPoUm6D1zC/CV 4KxFthwaTr5GLgEHPXyI4/rfvcoHXQF1LWXeuZVv5xkOMkCkesB8go6EZbfHa3I5 R4TJdENAzX7ZbnKKoo/B68JXs2lAJIfmzlvNFNKgyUm20o2zuT51m/TYgOWvHy8w OdS2pk4Vd7DPHg7i3pm+SanCUxkb7hPFScGtm/VzcezKZr7HcKfk5WMLwFFgMEnh SAg0lwBe1lHifMYSWCgDITHW/DjGPaTkR0zoNPWnMn09tXRxGCVoi2DitYkvX8Vd ytgEHOO+vmPpnwat38BMoQZb51HE1w== =eOwj -----END PGP SIGNATURE----- --26++BOMd+gcvTnyP--