Re: [PATCH] riscv/kexec_file: Fix comment in purgatory relocator

From: Björn Töpel
Date: Wed Mar 26 2025 - 15:55:29 EST


Yao Zi <ziyao@xxxxxxxxxxx> 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@xxxxxxxxxxx>

Reviewed-by: Björn Töpel <bjorn@xxxxxxxxxxxx>