mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] implement dmesg -n
@ 2023-06-12 12:32 Sascha Hauer
  2023-06-12 12:32 ` [PATCH 1/5] dmesg: factor out str_to_loglevel() Sascha Hauer
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Sascha Hauer @ 2023-06-12 12:32 UTC (permalink / raw)
  To: Barebox List

This series implements dmesg -n to specify the console loglevel
via dmesg command as an alternative to setting global.loglevel
directly. While at it allow specifying loglevels as numbers and
not only as strings.

Sascha Hauer (5):
  dmesg: factor out str_to_loglevel()
  dmesg: error out on unknown loglevels
  dmesg: allow loglevels specified as numbers
  dmesg: implement dmesg -n
  dmesg: udpate help

 commands/dmesg.c       | 89 ++++++++++++++++++++++++++++++++----------
 include/linux/printk.h | 10 -----
 2 files changed, 68 insertions(+), 31 deletions(-)

-- 
2.39.2




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

end of thread, other threads:[~2023-06-13  6:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12 12:32 [PATCH 0/5] implement dmesg -n Sascha Hauer
2023-06-12 12:32 ` [PATCH 1/5] dmesg: factor out str_to_loglevel() Sascha Hauer
2023-06-13  6:41   ` Marco Felsch
2023-06-12 12:32 ` [PATCH 2/5] dmesg: error out on unknown loglevels Sascha Hauer
2023-06-13  6:34   ` Marco Felsch
2023-06-13  6:49     ` Sascha Hauer
2023-06-13  6:57       ` Marco Felsch
2023-06-12 12:32 ` [PATCH 3/5] dmesg: allow loglevels specified as numbers Sascha Hauer
2023-06-13  6:41   ` Marco Felsch
2023-06-12 12:32 ` [PATCH 4/5] dmesg: implement dmesg -n Sascha Hauer
2023-06-13  6:45   ` Marco Felsch
2023-06-13  6:54     ` Sascha Hauer
2023-06-12 12:32 ` [PATCH 5/5] dmesg: udpate help Sascha Hauer
2023-06-13  6:40   ` Marco Felsch

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