diff options
| author | Arnd Bergmann <[email protected]> | 2024-11-12 14:29:15 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2024-11-13 10:00:23 +0000 |
| commit | da115c4ee29f589bb72ec2e86eb5e196b6bbcb41 (patch) | |
| tree | 1899e2434d143bb755339c3fa686ebf1c2c68a25 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | tty: sysrq: Use printk_force_console context on __handle_sysrq (diff) | |
| download | kernel-da115c4ee29f589bb72ec2e86eb5e196b6bbcb41.tar.gz kernel-da115c4ee29f589bb72ec2e86eb5e196b6bbcb41.zip | |
printk: add dummy printk_force_console_enter/exit helpers
The newly added interface is broken when PRINTK is disabled:
drivers/tty/sysrq.c: In function '__handle_sysrq':
drivers/tty/sysrq.c:601:9: error: implicit declaration of function 'printk_force_console_enter' [-Wimplicit-function-declaration]
601 | printk_force_console_enter();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/tty/sysrq.c:611:25: error: implicit declaration of function 'printk_force_console_exit' [-Wimplicit-function-declaration]
611 | printk_force_console_exit();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Add empty stub functions for both.
Fixes: ed76c07c6885 ("printk: Introduce FORCE_CON flag")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Marcos Paulo de Souza <[email protected]>
Tested-by: Marcos Paulo de Souza <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
