Files
linux/arch/arm64/kernel
Sam Edwards 030b3ffbda arm64: mm: Cast start/end markers to char *, not u64
There are a few memset() calls in map_kernel.c that cast marker-symbol
addresses to u64 in order to perform pointer subtraction (range size
computation).

Cast them with (char *) instead, aligning with idiomatic C pointer
arithmetic.

This patch provably has no effect at runtime: I have verified that
.text of vmlinux is identical after this change.

Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Signed-off-by: Will Deacon <will@kernel.org>
2025-09-16 20:39:49 +01:00
..
2025-05-21 16:46:37 +02:00
2024-10-16 14:50:47 +01:00
2020-09-07 15:00:52 +01:00
2024-10-28 21:44:29 +00:00
2024-06-28 18:38:31 +01:00
2022-09-26 10:13:14 -07:00
2024-07-10 14:23:38 +02:00
2025-04-01 15:17:15 -07:00