]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteef8ee28d91431657bd416405e4abf5e420887e5
treecc5b730d65fb495200cf3c1f6a601e8835956f75
parenta5b4f6b821b1563b54d8e4615d1b6ea21b7dc9d9
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: 36947e2e0612 ("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