[cocci] [v4 2/5] arm64: tlb: Convert the opencoded field modify
Markus Elfring
Markus.Elfring at web.de
Mon Jun 16 06:52:30 PDT 2025
>>> 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
More information about the linux-arm-kernel
mailing list