[PATCH] riscv/kexec_file: Fix comment in purgatory relocator
Björn Töpel
bjorn at kernel.org
Wed Mar 26 12:55:19 PDT 2025
Yao Zi <ziyao at disroot.org> writes:
> Apparently sec_base doesn't mean relocated symbol value, which seems a
> copy-pasting error in the comment. Assigned with the address of section
> indexed by sym->st_shndx, it should represent base address of the
> relevant section. Let's fix the comment to avoid possible confusion.
>
> Fixes: 838b3e28488f ("RISC-V: Load purgatory in kexec_file")
> Signed-off-by: Yao Zi <ziyao at disroot.org>
Reviewed-by: Björn Töpel <bjorn at rivosinc.com>
More information about the linux-riscv
mailing list