lkml.org 
[lkml]   [2021]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v4 0/4] bootconfig: Fixes to bootconfig memory management etc.
Date
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>

\
 
 \ /
  Last update: 2021-09-16 08:23    [W:0.029 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site