[PATCH 2/9] arm64: sysreg: Remove the dead range check from parse_bitdef()
Steffen Eiden
seiden at linux.ibm.com
Mon Nov 23 00:55:04 PST 2026
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.
>
> No functional change intended.
>
> 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