of: Drop superfluous ULL suffix for ~0
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 2 Nov 2020 10:54:22 +0000 (11:54 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 2 Nov 2020 17:32:46 +0000 (09:32 -0800)
commit495023e4e49e4b7dee35928800bf0317276576c1
treecc5b730d65fb495200cf3c1f6a601e8835956f75
parent3cea11cd5e3b00d91caf0b4730194039b45c5891
of: Drop superfluous ULL suffix for ~0

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.

Fixes: 48ab6d5d1f09 ("dma-mapping: fix 32-bit overflow with CONFIG_ARM_LPAE=n")
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/of/device.c