Re: [PATCH 6/7] debug: kgd_io: Don't check for CON_ENABLED

2025-06-29 Thread Marcos Paulo de Souza
On Mon, 2025-06-16 at 15:56 +0200, Petr Mladek wrote: > On Fri 2025-06-06 23:53:48, Marcos Paulo de Souza wrote: > > All consoles found on for_each_console_srcu are registered, meaning > > that all of > > them are CON_ENABLED. The code tries to find an active console, so > > check if the > > consol

Re: [PATCH 6/7] debug: kgd_io: Don't check for CON_ENABLED

2025-06-16 Thread Petr Mladek
On Fri 2025-06-06 23:53:48, Marcos Paulo de Souza wrote: > All consoles found on for_each_console_srcu are registered, meaning that all > of > them are CON_ENABLED. The code tries to find an active console, so check if > the > console is not suspended instead. > > Signed-off-by: Marcos Paulo de

[PATCH 6/7] debug: kgd_io: Don't check for CON_ENABLED

2025-06-06 Thread Marcos Paulo de Souza
All consoles found on for_each_console_srcu are registered, meaning that all of them are CON_ENABLED. The code tries to find an active console, so check if the console is not suspended instead. Signed-off-by: Marcos Paulo de Souza --- kernel/debug/kdb/kdb_io.c | 2 +- 1 file changed, 1 insertion