summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSam Edwards <cfsworks@gmail.com>2025-09-03 17:52:07 -0700
committerWill Deacon <will@kernel.org>2025-09-16 20:39:49 +0100
commit030b3ffbdac75005ef73af752a42cd48c7bba155 (patch)
tree18ac643433355ea6705117fe8a827dc2b2050a49 /lib/mpi/mpi-mod.c
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
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>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions