[PATCH v2 0/8] bootconfig: Update for the recent reports

From: Masami Hiramatsu
Date: Thu Feb 20 2020 - 07:18:29 EST


Hello,

Here is the 2nd version of the bootconfig updates. There are
several implementation changes and syntax fix/updates.

This version changed a bit in Kconfig and init/main.c.

- [1/8] Use pr_warn() for warning message.
Remove unneeded "default n" line from Kconfig.
- [2/8][4/8] Update Kconfig comment. (data on initrd)

Thank you,

---

Masami Hiramatsu (8):
bootconfig: Set CONFIG_BOOT_CONFIG=n by default
bootconfig: Add bootconfig magic word for indicating bootconfig explicitly
tools/bootconfig: Remove unneeded error message silencer
bootconfig: Remove unneeded checksum
bootconfig: Reject subkey and value on same parent key
bootconfig: Overwrite value on same key by default
bootconfig: Add append value operator support
bootconfig: Print array as multiple commands for legacy command line


Documentation/admin-guide/bootconfig.rst | 37 +++++++++++-
include/linux/bootconfig.h | 3 +
init/Kconfig | 3 -
init/main.c | 54 +++++++-----------
kernel/trace/Kconfig | 3 +
lib/bootconfig.c | 44 +++++++++++----
tools/bootconfig/include/linux/printk.h | 5 --
tools/bootconfig/main.c | 77 +++++++++++---------------
tools/bootconfig/samples/bad-mixed-kv1.bconf | 3 +
tools/bootconfig/samples/bad-mixed-kv2.bconf | 3 +
tools/bootconfig/test-bootconfig.sh | 31 +++++++++-
11 files changed, 164 insertions(+), 99 deletions(-)
create mode 100644 tools/bootconfig/samples/bad-mixed-kv1.bconf
create mode 100644 tools/bootconfig/samples/bad-mixed-kv2.bconf

--
Masami Hiramatsu (Linaro) <mhiramat@xxxxxxxxxx>