Skip to content

Commit

Permalink
ARM: 9024/1: Drop useless cast of "u64" to "long long"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Russell King committed Nov 12, 2020
1 parent df8eda0 commit 730b576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 730b576

Please sign in to comment.