[PATCH 2/9] arm64: sysreg: Remove the dead range check from parse_bitdef()
Mark Brown
broonie at kernel.org
Mon Nov 23 06:56:08 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.
Reviewed-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261123/07d02269/attachment.sig>
More information about the linux-arm-kernel
mailing list