Re: [PATCH 2/9] arm64: sysreg: Remove the dead range check from parse_bitdef()

From: Mark Brown

Date: Mon Nov 23 2026 - 09:58:05 EST


On Mon, Nov 23, 2026 at 07:52:12AM +0000, Fuad Tabba wrote:
> parse_bitdef() ends by testing "low > high", but the script doesn't
> assign either variable, so the test compares two empty values and never
> fires. The "msb < lsb" test just above it already rejects an inverted
> range.
>
> Remove the dead test.

Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature