kexec-elf-ppc: Fix crashkernel region overflow check
Subsystems (2)
PATCH 1/1 kexec-elf-ppc: Fix crashkernel region overflow check
Signed-off-by Anders Hedlund <[email protected]>
--- kexec/arch/ppc/kexec-elf-ppc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kexec/arch/ppc/kexec-elf-ppc.c +1 -1
@@ -382,7 +382,7 @@ int elf_ppc_load(int argc, char **argv, const char *buf, off_t len, (ramdisk_base > crash_base + crash_size) ) {printf ("WARNING: ramdisk is above crashkernel region!\n" ); } - else if (ramdisk_base + initrd_size > crash_base + crash_size) { + else if (ramdisk_base + ramdisk_size > crash_base + crash_size) {printf ("WARNING: ramdisk overflows crashkernel region!\n" ); } }
Signature · 7 lines
1.7.10.4 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
Simon Horman
AppliedQuoted 1 line · Anders Hedlund
Signed-off-by Anders Hedlund <[email protected]>
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec