[PATCH v3 0/3] bootconfig: Fixes to bootconfig memory management
From: Masami Hiramatsu
Date: Wed Sep 15 2021 - 09:20:37 EST
Hello,
Here are the series of patches to fix bootconfig memory management issues.
In this version, I removed unneeded patches and add a patch to free xbc_data
in xbc_destroy_all().
But still I'm thinking how I can move lib/bootconfig.c and bootconfig.h
to share with tools, because those functions/data are __init and __initdata.
At least I have to add a dummy macro for those in userspace.
Thus the tools/bootconfig build error is still there. I'll fix that in
another series.
Thank you,
---
Masami Hiramatsu (3):
bootconfig: init: Fix memblock leak in xbc_make_cmdline()
bootconfig: init: Fix memblock leak in setup_boot_config()
bootconfig: Free xbc_data in xbc_destroy_all()
init/main.c | 2 ++
lib/bootconfig.c | 3 +++
2 files changed, 5 insertions(+)
--
Masami Hiramatsu (Linaro) <mhiramat@xxxxxxxxxx>