[cocci] [v4 2/5] arm64: tlb: Convert the opencoded field modify
Luo Jie
quic_luoj at quicinc.com
Mon Jun 16 09:19:21 PDT 2025
On 6/16/2025 9:52 PM, Markus Elfring wrote:
>>>> Replace below code with the wrapper FIELD_MODIFY(MASK, ®, val)
>>>> - reg &= ~MASK;
>>>> - reg |= FIELD_PREP(MASK, val);
> …
>> I will review the generated message to improve the formatting as you
>> suggested, the next time I use it.
> Would indentation be more helpful for the mentioned code excerpt
> (instead of trying to describe lines with bullet points)?
>
> Regards,
> Markus
I agree that using indentation would make the code excerpt clearer.
Thanks.
More information about the linux-arm-kernel
mailing list