Re: [PATCH 4/9] arm64: sysreg: Don't run the end-of-file checks after an error

From: Mark Brown

Date: Mon Nov 23 2026 - 10:18:08 EST


On Mon, Nov 23, 2026 at 07:52:14AM +0000, Fuad Tabba wrote:
> fatal() ends the run with exit, but awk still runs the END rule after
> it, and END checks the file as though it had been read to the end. An
> error inside a block leaves that block open, so the error is followed by
> a second, bogus one about a missing terminator.
>
> Skip the END checks once fatal() has run.

Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature