aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Petr Mladek <pmladek@suse.com> 2021-11-22 14:26:45 +0100
committerGravatar Petr Mladek <pmladek@suse.com> 2021-12-06 14:07:57 +0100
commited758b30d541e9bf713cd58612a4414e57dc6d73 (patch)
tree3fc76fd7e5130a31680f1c0b34e372bdbda574da /scripts
parentMerge tag 'printk-for-5.16-fixup' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadlinux-ed758b30d541e9bf713cd58612a4414e57dc6d73.tar.gz
linux-ed758b30d541e9bf713cd58612a4414e57dc6d73.tar.bz2
linux-ed758b30d541e9bf713cd58612a4414e57dc6d73.zip
printk/console: Split out code that enables default console
Put the code enabling a console by default into a separate function called try_enable_default_console(). Rename try_enable_new_console() to try_enable_preferred_console() to make the purpose of the different variants more clear. It is a code refactoring without any functional change. Signed-off-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Link: https://lore.kernel.org/r/20211122132649.12737-2-pmladek@suse.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions