Messages in this thread | | | From | Linus Torvalds <> | Date | Mon, 2 Nov 2020 09:33:17 -0800 | Subject | Re: [PATCH] of: Drop superfluous ULL suffix for ~0 |
| |
On Mon, Nov 2, 2020 at 2:54 AM Geert Uytterhoeven <geert+renesas@glider.be> 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
| |