diff options
author | Sreenath Vijayan <sreenath.vijayan@sony.com> | 2024-05-30 13:15:47 +0530 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2024-06-03 17:17:29 +0200 |
commit | 3d9a0a25336433d48ddca1e1f4fea25fd4a3b1d8 (patch) | |
tree | 9ebb28d602a0cac9e68553601cb211457f0a5f4f /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) |
printk: Rename console_replay_all() and update context
Rename console_replay_all() to console_try_replay_all() to make
clear that the implementation is best effort. Also, the function
should not be called in NMI context as it takes locks, so update
the comment in code.
Fixes: 693f75b91a91 ("printk: Add function to replay kernel log on consoles")
Fixes: 1b743485e27f ("tty/sysrq: Replay kernel log messages on consoles via sysrq")
Suggested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Shimoyashiki Taichi <taichi.shimoyashiki@sony.com>
Signed-off-by: Sreenath Vijayan <sreenath.vijayan@sony.com>
Link: https://lore.kernel.org/r/Zlguq/wU21Z8MqI4@sreenath.vijayan@sony.com
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions