From: Geert Uytterhoeven Date: Tue, 10 Nov 2020 15:58:41 +0000 (+0100) Subject: ARM: 9024/1: Drop useless cast of "u64" to "long long" X-Git-Tag: howlett/maple_spf/20210104~227^2~1^2~14 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=730b5764ea8526e48bdb85a24ed96d62de435940;p=users%2Fjedix%2Flinux-maple.git ARM: 9024/1: Drop useless cast of "u64" to "long long" 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 Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index f9de7658d9b3..1a5edf562e85 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -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; }