diff options
| author | Naveen Kumar Chaudhary <naveen.osdev@gmail.com> | 2026-06-17 07:58:20 +0530 |
|---|---|---|
| committer | Daniel Thompson <daniel@riscstar.com> | 2026-10-28 16:55:39 +0000 |
| commit | 2a052074582d976bfa81e41a0337d8ae6dd1dc65 (patch) | |
| tree | 346f9aad0fcddd987e575a5665a9f6f93dd0cc98 /kernel/fail_function.c | |
| parent | 22d59ccad2935b7dea7f818793b739343de433a8 (diff) | |
kdb: unify CMD_BUFLEN definition into kdb_private.h
CMD_BUFLEN was defined separately in kdb_io.c (256) and kdb_main.c
(200), causing kdb_main.c to use the wrong size when formatting the
prompt string into kdb_prompt_str (which is 256 bytes).
Move CMD_BUFLEN (256) into kdb_private.h so all users share a single
consistent definition, and remove the local definitions from both
files.
Fixes: 5d5314d6795f ("kdb: core for kgdb back end (1 of 2)")
Signed-off-by: Naveen Kumar Chaudhary <naveen.osdev@gmail.com>
Link: https://lore.kernel.org/r/l6b6bomrw3bvkehlv73fyghk6loz6jpdwqk5c4nthnhl7j7kzk@4jjhfpzv5zon
Signed-off-by: Daniel Thompson <daniel@riscstar.com>
Diffstat (limited to 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions
