[PATCH 4/9] arm64: sysreg: Don't run the end-of-file checks after an error
Steffen Eiden
seiden at linux.ibm.com
Mon Nov 23 02:29:42 PST 2026
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 at linux.dev>
Reviewed-by: Steffen Eiden <seiden at linux.ibm.com>
More information about the linux-arm-kernel
mailing list