[PATCH v9 27/30] KVM: arm64: selftests: Remove spurious check for single bit safe values
Ben Horgan
ben.horgan at arm.com
Tue Jan 13 02:05:15 PST 2026
Hi Mark,
On 12/23/25 01:21, Mark Brown wrote:
> get_safe_value() currently asserts that bitfields it is generating a safe
> value for must be more than one bit wide but in actual fact it should
> always be possible to generate a safe value to write to a bitfield even if
> it is just the current value and the function correctly handles that.
> Remove the assert.
>
> Fixes: bf09ee918053e ("KVM: arm64: selftests: Remove ARM64_FEATURE_FIELD_BITS and its last user")
> Signed-off-by: Mark Brown <broonie at kernel.org>
Yes, this assert was unneeded.
Reviewed-by: Ben Horgan <ben.horgan at arm.com>
Thanks,
Ben
More information about the linux-arm-kernel
mailing list