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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux