mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/6] um: Output messages to stderr and support quiet option
@ 2017-05-17 17:13 Masami Hiramatsu
  2017-05-17 17:14 ` [PATCH v3 1/6] um: Use printk instead of printf in make_uml_dir Masami Hiramatsu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Masami Hiramatsu @ 2017-05-17 17:13 UTC (permalink / raw)
  To: Jeff Dike, Richard Weinberger
  Cc: Masami Hiramatsu, user-mode-linux-devel, linux-kernel

Hello,

Here is version 3 of um-quiet series. In this version
I just fixed some printf format issues.

V2 is here.

 https://lkml.org/lkml/2017/5/8/35

This series fixes some boot time printf output to stderr
by adding os_info() and os_warn(). The information-level
messages via os_info() are suppressed when "quiet" kernel
option is specified.
Also the last one allows user to pass "console=" option
to kernel.

Note that the output of --help and --version are still
sent to stdout since they are intentionally shown by
the user.

Changes from v2:
  - Cast rlim_min/max to unsigned long long explicitly
    for avoiding printf-format warning.
  - Fix printf format in physmem.c so that it matches
    the type of arguments.

Thank you,

---

Masami Hiramatsu (6):
      um: Use printk instead of printf in make_uml_dir
      um: Add os_info() for pre-boot information messages
      um: Use os_info for the messages on normal path
      um: Add os_warn() for pre-boot warning/error messages
      um: Use os_warn to print out pre-boot warning/error messages
      um: console: Ignore console= option


 arch/um/drivers/stdio_console.c |    3 +++
 arch/um/include/shared/os.h     |    4 ++++
 arch/um/kernel/physmem.c        |   10 +++++-----
 arch/um/kernel/um_arch.c        |   16 +++++++++-------
 arch/um/kernel/umid.c           |    4 ++--
 arch/um/os-Linux/execvp.c       |    2 +-
 arch/um/os-Linux/main.c         |    9 ++++-----
 arch/um/os-Linux/mem.c          |   28 ++++++++++++++--------------
 arch/um/os-Linux/start_up.c     |   28 +++++++++++++++-------------
 arch/um/os-Linux/umid.c         |   19 +++++++++++--------
 arch/um/os-Linux/util.c         |   34 ++++++++++++++++++++++++++++++++++
 11 files changed, 102 insertions(+), 55 deletions(-)

--
Masami Hiramatsu <mhiramat@kernel.org>

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

end of thread, other threads:[~2017-07-05 21:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 17:13 [PATCH v3 0/6] um: Output messages to stderr and support quiet option Masami Hiramatsu
2017-05-17 17:14 ` [PATCH v3 1/6] um: Use printk instead of printf in make_uml_dir Masami Hiramatsu
2017-05-17 17:16 ` [PATCH v3 2/6] um: Add os_info() for pre-boot information messages Masami Hiramatsu
2017-05-17 17:17 ` [PATCH v3 3/6] um: Use os_info for the messages on normal path Masami Hiramatsu
2017-05-17 17:18 ` [PATCH v3 4/6] um: Add os_warn() for pre-boot warning/error messages Masami Hiramatsu
2017-05-17 17:19 ` [PATCH v3 5/6] um: Use os_warn to print out " Masami Hiramatsu
2017-05-17 17:20 ` [PATCH v3 6/6] um: console: Ignore console= option Masami Hiramatsu
2017-07-05 21:25 ` [PATCH v3 0/6] um: Output messages to stderr and support quiet option Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome