All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] bootconfig: Clean up bootconfig
@ 2021-09-17 10:02 Masami Hiramatsu
  2021-09-17 10:02 ` [PATCH 1/7] tools/bootconfig: Run test script when build all Masami Hiramatsu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Masami Hiramatsu @ 2021-09-17 10:02 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Linus Torvalds, LKML, Masami Hiramatsu

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

-- 
Masami Hiramatsu (Linaro) <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-17 10:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17 10:02 [PATCH 0/7] bootconfig: Clean up bootconfig Masami Hiramatsu
2021-09-17 10:02 ` [PATCH 1/7] tools/bootconfig: Run test script when build all Masami Hiramatsu
2021-09-17 10:02 ` [PATCH 2/7] bootconfig: Rename xbc_destroy_all() to xbc_exit() Masami Hiramatsu
2021-09-17 10:02 ` [PATCH 3/7] bootconfig: Split parse-tree part from xbc_init Masami Hiramatsu
2021-09-17 10:02 ` [PATCH 4/7] bootconfig: Remove unused debug function Masami Hiramatsu
2021-09-17 10:03 ` [PATCH 5/7] tools/bootconfig: Print all error message in stderr Masami Hiramatsu
2021-09-17 10:03 ` [PATCH 6/7] bootconfig: Replace u16 and u32 with uint16_t and uint32_t Masami Hiramatsu
2021-09-17 10:03 ` [PATCH 7/7] bootconfig: Cleanup dummy headers in tools/bootconfig Masami Hiramatsu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.