[PATCH 2/7] LoongArch: Fix comments
Youling Tang
youling.tang at linux.dev
Fri Aug 29 02:10:35 PDT 2025
From: Youling Tang <tangyouling at kylinios.cn>
loongarch_load_other_segments() mainly loads initrd and cmdline. Fix this
annotation.
Signed-off-by: Youling Tang <tangyouling at kylinios.cn>
---
kexec/arch/loongarch/kexec-pei-loongarch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kexec/arch/loongarch/kexec-pei-loongarch.c b/kexec/arch/loongarch/kexec-pei-loongarch.c
index 1a11103..f0e0d09 100644
--- a/kexec/arch/loongarch/kexec-pei-loongarch.c
+++ b/kexec/arch/loongarch/kexec-pei-loongarch.c
@@ -102,10 +102,10 @@ int pei_loongarch_load(int argc, char **argv, const char *buf,
/* Load the kernel */
add_segment(info, buf, len, kernel_segment, loongarch_mem.image_size);
- /* Prepare and load dtb and initrd data */
+ /* Prepare and load initrd and cmdline data */
result = loongarch_load_other_segments(info, hole_min);
if (result) {
- fprintf(stderr, "kexec: Load dtb and initrd segments failed.\n");
+ fprintf(stderr, "kexec: Load initrd and cmdline segments failed.\n");
goto exit;
}
--
2.34.1
More information about the kexec
mailing list