[PATCH v7 08/15] arm64: kexec_file: Simplify load_other_segments()
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Mon Oct 26 03:32:01 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: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Cc: Baoquan He <baoquan.he at linux.dev>
> Cc: Breno Leitao <leitao at debian.org>
> 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=8
More information about the kexec
mailing list