Skip to content

Commit e29409f

Browse files
mzaslonkAlexander Gordeev
authored andcommitted
s390/boot: Fix startup debugging log
Fix 'kernel image' end address for kaslr case. Fixes: ec6f9f7 ("s390/boot: Add startup debugging support") Reviewed-by: Alexander Gordeev <[email protected]> Signed-off-by: Mikhail Zaslonko <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent daa8af8 commit e29409f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/s390/boot/startup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ static unsigned long setup_kernel_memory_layout(unsigned long kernel_size)
384384
kernel_start = round_down(kernel_end - kernel_size, THREAD_SIZE);
385385
boot_debug("Randomization range: 0x%016lx-0x%016lx\n", vmax - kaslr_len, vmax);
386386
boot_debug("kernel image: 0x%016lx-0x%016lx (kaslr)\n", kernel_start,
387-
kernel_size + kernel_size);
387+
kernel_start + kernel_size);
388388
} else if (vmax < __NO_KASLR_END_KERNEL || vsize > __NO_KASLR_END_KERNEL) {
389389
kernel_start = round_down(vmax - kernel_size, THREAD_SIZE);
390390
boot_debug("kernel image: 0x%016lx-0x%016lx (constrained)\n", kernel_start,

0 commit comments

Comments
 (0)