public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Masami Hiramatsu <mhiramat@kernel.org>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Masami Hiramatsu <mhiramat@kernel.org>
Subject: [PATCH 0/7] bootconfig: Clean up bootconfig
Date: Fri, 17 Sep 2021 19:02:24 +0900	[thread overview]
Message-ID: <163187294400.2366983.7393164788107844569.stgit@devnote2> (raw)

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>

             reply	other threads:[~2021-09-17 10:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-17 10:02 Masami Hiramatsu [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=163187294400.2366983.7393164788107844569.stgit@devnote2 \
    --to=mhiramat@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox