[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHk-=wgFZRAVB_LUM+A24u2iubynmkbMDXb3rxy8GmRmKM7gfw@mail.gmail.com>
Date: Mon, 2 Nov 2020 09:33:17 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Christoph Hellwig <hch@....de>, Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
devicetree <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] of: Drop superfluous ULL suffix for ~0
On Mon, Nov 2, 2020 at 2:54 AM Geert Uytterhoeven
<geert+renesas@...der.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
Powered by blists - more mailing lists