diff options
author | Marcos Paulo de Souza <mpdesouza@suse.com> | 2024-11-05 16:45:09 -0300 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2024-11-11 12:53:31 +0100 |
commit | e3eea25e0b28ea06eb841ef1814ce7b7254f2fce (patch) | |
tree | dd55c08a533008d6cd2957e02caa2c96b48b4caf /scripts/generate_rust_analyzer.py | |
parent | ed76c07c6885b249ce8486dac22fb97151a83185 (diff) |
tty: sysrq: Use printk_force_console context on __handle_sysrq
By using the printk_force_console the loglevel workaround can be removed.
The workaround existed to always send the sysrq header message to all
consoles not matter what was the current loglevel, but it won't work for
deferred messages, since the loglevel can be restore before the message
is printed, suppressing the message that wasn't supposed to be
suppressed by the workaround.
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20241105-printk-loud-con-v2-2-bd3ecdf7b0e4@suse.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions