[PATCH v7 09/15] LoongArch: kexec_file: Simplify load_other_segments()
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Oct 26 03:40:10 PDT 2026
> Pass the kbuf fields to crash_prepare_headers() and set
> elf_headers before kexec_add_buffer(), so the error path needs
> no vfree() because arch_kimage_file_post_load_cleanup() will do it.
>
> Cc: Huacai Chen <chenhuacai at kernel.org>
> Cc: Baoquan He <baoquan.he at linux.dev>
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261026075201.699550-1-ruanjinjie@huawei.com?part=9
More information about the kexec
mailing list