ARM: 9024/1: Drop useless cast of "u64" to "long long"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 10 Nov 2020 15:58:41 +0000 (16:58 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Thu, 12 Nov 2020 14:53:21 +0000 (14:53 +0000)
As "u64" is equivalent to "unsigned long long", there is no need to cast
a "u64" parameter for printing it using the "0x%08llx" format specifier.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/setup.c

index f9de7658d9b3a1bd00636d46eaa37dcce9e6bf35..1a5edf562e85efe5f33745548326e4d4a5373b24 100644 (file)
@@ -765,7 +765,7 @@ int __init arm_add_memory(u64 start, u64 size)
 #ifndef CONFIG_PHYS_ADDR_T_64BIT
        if (aligned_start > ULONG_MAX) {
                pr_crit("Ignoring memory at 0x%08llx outside 32-bit physical address space\n",
-                       (long long)start);
+                       start);
                return -EINVAL;
        }