s390/boot: sanitize kaslr_adjust_relocs() function prototype
authorAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 21 Feb 2024 12:25:06 +0000 (13:25 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 26 Feb 2024 09:25:09 +0000 (10:25 +0100)
commit8495fd4dfee89b9b07353e8d01f0569c0330ff12
tree5a4831f6444ad45a5a0b98b057ddde871c8692c8
parent3334fda639cfa7bb27a457f85f4ce06d622e0511
s390/boot: sanitize kaslr_adjust_relocs() function prototype

Do not use vmlinux.image_size within kaslr_adjust_relocs() function
to calculate the upper relocation table boundary. Instead, make both
lower and upper boundaries the function input parameters.

Acked-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/boot/startup.c