[PATCH v2 0/2] two fixes in kho_populate()

ranxiaokai627 at 163.com ranxiaokai627 at 163.com
Tue Feb 10 19:29:35 PST 2026


From: Ran Xiaokai <ran.xiaokai at zte.com.cn>

Patch1 fixes unpaired call of early_memmap()/early_memunmap()
Patch2 cleans up unnecessary call of WARN_ON()

v2
 - Improve code readability suggested by Pratyush
 - collect reviewed-by

Ran Xiaokai (2):
  kho: fix missing early_memunmap() call in kho_populate()
  kho: remove unnecessary WARN_ON(err) in kho_populate()

 kernel/liveupdate/kexec_handover.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

-- 
2.25.1





More information about the kexec mailing list