[PATCH 10/21] i2c: nomadik: don't use GENMASK()

Linus Walleij linus.walleij at linaro.org
Mon Oct 27 15:22:33 PDT 2025


On Sat, Oct 25, 2025 at 6:33 PM Yury Norov (NVIDIA)
<yury.norov at gmail.com> wrote:

> GENMASK(high, low) notation is confusing. Switch to BITS() or FIRST_BITS()
> where appropriate.
>
> Suggested-by: Linus Torvalds <torvalds at linux-foundation.org>
> Link: https://lore.kernel.org/all/CAHk-=whoOUsqPKb7OQwhQf9H_3=5sXGPJrDbfQfwLB3Bi13tcQ@mail.gmail.com/
> Signed-off-by: Yury Norov (NVIDIA) <yury.norov at gmail.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list