[PATCH v2 1/4] arm64/sysreg: Fix checks for incomplete sysreg definitions
Mark Brown
broonie at kernel.org
Tue Oct 21 12:04:10 PDT 2025
On Thu, Oct 09, 2025 at 04:54:47PM +0000, Sascha Bischoff wrote:
> The checks for incomplete sysreg definitions were checking if the
> next_bit was greater than 0, which is incorrect and missed occasions
> where bit 0 hasn't been defined for a sysreg. The reason is that
> next_bit is -1 when all bits have been processed (LSB - 1).
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/20251021/4e5780a3/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list