Messages in this thread | | | From | Masami Hiramatsu <> | Subject | [PATCH v4 0/4] bootconfig: Fixes to bootconfig memory management etc. | Date | Thu, 16 Sep 2021 15:22:52 +0900 |
| |
Hi Steve,
Here are the 4th version of the series to fix bootconfig memory management issues and API cleanup.
In this version, I added patches to move the memory allocation for the bootconfig in xbc_init() [2/4], add xbc_get_info()[3/4], and rename xbc_destroy_all()[4/4].
Thank you,
---
Masami Hiramatsu (4): bootconfig: init: Fix memblock leak in xbc_make_cmdline() bootconfig: Allocate xbc_data inside xbc_init() bootconfig: Add xbc_get_info() for the node information bootconfig: Rename xbc_destroy_all() to xbc_fini()
include/linux/bootconfig.h | 6 +++- init/main.c | 17 ++++-------- lib/bootconfig.c | 60 +++++++++++++++++++++++++++++++++----------- tools/bootconfig/main.c | 9 ++++--- 4 files changed, 59 insertions(+), 33 deletions(-)
-- Masami Hiramatsu (Linaro) <mhiramat@kernel.org>
| |