bootconfig: Fixes to bootconfig memory management etc.
v4 cover bootconfig: Fixes to bootconfig memory management etc.
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(-)
Signature · 1 line
Masami Hiramatsu (Linaro) <[email protected]>