Re: [PATCH 4/9] arm64: sysreg: Don't run the end-of-file checks after an error
From: Steffen Eiden
Date: Mon Nov 23 2026 - 05:30:09 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.
>
> Signed-off-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
Reviewed-by: Steffen Eiden <seiden@xxxxxxxxxxxxx>