Files
linux-stable-mirror/include/linux
Arnd Bergmann da115c4ee2 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: ed76c07c68 ("printk: Introduce FORCE_CON flag")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Tested-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Link: https://lore.kernel.org/r/20241112142939.724093-1-arnd@kernel.org
Signed-off-by: Petr Mladek <pmladek@suse.com>
2024-11-13 11:00:23 +01:00
..
2024-08-29 04:32:32 -06:00
2024-09-12 12:20:41 +02:00
2024-08-30 08:22:38 +02:00
2024-09-11 20:44:31 -07:00
2024-08-29 15:20:32 +02:00
2024-09-08 16:01:10 +02:00
2024-09-11 20:44:32 -07:00
2024-09-12 12:20:39 +02:00
2024-08-30 08:22:39 +02:00