Skip to content

bootconfig: Clean up bootconfig

Masami Hiramatsu lkml 1 version New

Get series with b4
b4 am 163187294400.2366983.7393164788107844569.stgit@devnote2

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tools/bootconfig: Run test script when build alltools/bootconfig/Makefile+1 -10 replies
2/7bootconfig: Rename xbc_destroy_all() to xbc_exit()include/linux/bootconfig.h init/main.c lib/bootconfig.c +1 more+7 -70 replies
3/7bootconfig: Split parse-tree part from xbc_initlib/bootconfig.c+54 -450 replies
4/7bootconfig: Remove unused debug functioninclude/linux/bootconfig.h lib/bootconfig.c+0 -240 replies
5/7tools/bootconfig: Print all error message in stderrtools/bootconfig/include/linux/kernel.h tools/bootconfig/include/linux/printk.h tools/bootconfig/main.c+2 -160 replies
6/7bootconfig: Replace u16 and u32 with uint16_t and uint32_tinclude/linux/bootconfig.h lib/bootconfig.c tools/bootconfig/include/linux/kernel.h +1 more+25 -270 replies
7/7bootconfig: Cleanup dummy headers in tools/bootconfiginclude/linux/bootconfig.h lib/bootconfig.c tools/bootconfig/Makefile +8 more+93 -910 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] bootconfig: Clean up bootconfig

Hi,

Here is a bootconfig cleanup series which includes a previous xbc_destroy_all() renaming patch. Basically this tries to remove all dummy patched in tools/bootconfig, except include/linux/bootconfig.

This series can be applied on top of 1-3rd patch of this series.

https://lore.kernel.org/all/163177338366.682366.5998343833719057348.stgit@devnote2/T/#u

As I added a NOTE in the bootconfig files, those are not intended to be used from user application, except for tools/bootconfig. Because tools/bootconfig runs parser tests, it must use the same code of lib/bootconfig.

However, I don't want to keep the dummy headers for that. This series minimize the differences and consolidate it to the one wrapper header.

I hope this eases the current situation so that the future change will not (or hard to) break tools/bootconfig build.

Thank you,

---

Masami Hiramatsu (7):
tools/bootconfig: Run test script when build all
bootconfig: Rename xbc_destroy_all() to xbc_exit()
bootconfig: Split parse-tree part from xbc_init
bootconfig: Remove unused debug function tools/bootconfig: Print all error message in stderr
bootconfig: Replace u16 and u32 with uint16_t and uint32_t
bootconfig: Cleanup dummy headers in tools/bootconfig

 include/linux/bootconfig.h                  |   27 ++--
 init/main.c                                 |    2 
 lib/bootconfig.c                            |  187 +++++++++++++++------------
 tools/bootconfig/Makefile                   |    4 -
 tools/bootconfig/include/linux/bootconfig.h |   45 ++++++
 tools/bootconfig/include/linux/bug.h        |   12 --
 tools/bootconfig/include/linux/ctype.h      |    7 -
 tools/bootconfig/include/linux/errno.h      |    7 -
 tools/bootconfig/include/linux/kernel.h     |   18 ---
 tools/bootconfig/include/linux/memblock.h   |   11 --
 tools/bootconfig/include/linux/printk.h     |   14 --
 tools/bootconfig/include/linux/string.h     |   32 -----
 tools/bootconfig/main.c                     |   25 ++--
 13 files changed, 181 insertions(+), 210 deletions(-)
 delete mode 100644 tools/bootconfig/include/linux/bug.h
 delete mode 100644 tools/bootconfig/include/linux/ctype.h
 delete mode 100644 tools/bootconfig/include/linux/errno.h
 delete mode 100644 tools/bootconfig/include/linux/kernel.h
 delete mode 100644 tools/bootconfig/include/linux/memblock.h
 delete mode 100644 tools/bootconfig/include/linux/printk.h
 delete mode 100644 tools/bootconfig/include/linux/string.h
Signature · 1 line
Masami Hiramatsu (Linaro) <[email protected]>