diff options
author | Petr Mladek <[email protected]> | 2021-11-22 14:26:45 +0100 |
---|---|---|
committer | Petr Mladek <[email protected]> | 2021-12-06 14:07:57 +0100 |
commit | ed758b30d541e9bf713cd58612a4414e57dc6d73 (patch) | |
tree | 3fc76fd7e5130a31680f1c0b34e372bdbda574da /scripts/gcc-plugins/structleak_plugin.c | |
parent | 7d5775d49e4a488bc8a07e5abb2b71a4c28aadbb (diff) |
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 <[email protected]>
Reviewed-by: Sergey Senozhatsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions