Re: [PATCH] of: Drop superfluous ULL suffix for ~0

From: Linus Torvalds
Date: Mon Nov 02 2020 - 12:33:42 EST


On Mon, Nov 2, 2020 at 2:54 AM Geert Uytterhoeven
<geert+renesas@xxxxxxxxx> wrote:
>
> There is no need to specify a "ULL" suffix for "all bits set": "~0" is
> sufficient, and works regardless of type. In fact adding the suffix
> makes the code more fragile.

I took this directly, since it was triggered by my code pattern rant.

Thanks,
Linus