[Kgdb-bugreport] [PATCH] kdb: Use str_plural() to fix Coccinelle warning

2024-04-02 Thread Thorsten Blum
Fixes the following Coccinelle/coccicheck warning reported by string_choices.cocci: opportunity for str_plural(days) Signed-off-by: Thorsten Blum --- kernel/debug/kdb/kdb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/debug/kdb/kdb_main.c

Re: [Kgdb-bugreport] [PATCH V7] kdb: Fix the deadlock issue in KDB debugging.

2024-04-02 Thread Daniel Thompson
On Tue, Mar 26, 2024 at 04:54:07PM +0800, liu@h3c.com wrote: > From: LiuYe > > Currently, if CONFIG_KDB_KEYBOARD is enabled, then kgdboc will > attempt to use schedule_work() to provoke a keyboard reset when > transitioning out of the debugger and back to normal operation. > This can cause

[PATCH] kdb: replace deprecated strncpy

2024-04-02 Thread Justin Stitt
len = len_tmp - len; kdb_printf("%s", cp); cp += len; --- base-commit: 026e680b0a08a62b1d948e5a8ca78700bfac0e6e change-id: 20240402-strncpy-kernel-debug-kdb-kdb_io-c-53e5ed26da3d Best regards, -- Justin Stitt