diff options
author | 2022-02-16 11:41:38 +0100 | |
---|---|---|
committer | 2022-02-21 15:52:08 +0100 | |
commit | a5a763b2b26678f1e01b2d031819b175d8f14555 (patch) | |
tree | fbad2042c0abcaf53998c5647bf678213ca344ae /scripts/gdb/linux/utils.py | |
parent | Docs: printk: add 'console=null|""' to admin/kernel-parameters (diff) | |
download | wireguard-linux-a5a763b2b26678f1e01b2d031819b175d8f14555.tar.xz wireguard-linux-a5a763b2b26678f1e01b2d031819b175d8f14555.zip |
printk: Set console_set_on_cmdline=1 when __add_preferred_console() is called with user_specified == true
In case of using console="" or console=null
set console_set_on_cmdline=1 to disable "stdout-path" node from DT.
We basically need to set it every time when __add_preferred_console()
is called with parameter 'user_specified' set.
Therefore we can move setting it into a helper function that is
called from __add_preferred_console().
Suggested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Andre Kalb <andre.kalb@sma.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/YgzU4ho8l6XapyG2@pc6682
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions