kernel_samsung_a53x/kernel/debug/kdb
Douglas Anderson cea8877ea0 kdb: Use the passed prompt in kdb_position_cursor()
[ Upstream commit e2e821095949cde46256034975a90f88626a2a73 ]

The function kdb_position_cursor() takes in a "prompt" parameter but
never uses it. This doesn't _really_ matter since all current callers
of the function pass the same value and it's a global variable, but
it's a bit ugly. Let's clean it up.

Found by code inspection. This patch is expected to functionally be a
no-op.

Fixes: 09b35989421d ("kdb: Use format-strings rather than '\0' injection in kdb_read()")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://lore.kernel.org/r/20240528071144.1.I0feb49839c6b6f4f2c4bf34764f5e95de3f55a66@changeid
Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:16 +01:00
..
kdb_bp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kdb_bt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kdb_cmds Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kdb_debugger.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kdb_io.c kdb: Use the passed prompt in kdb_position_cursor() 2024-11-23 23:20:16 +01:00
kdb_keyboard.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kdb_main.c kdb: Fix a potential buffer overflow in kdb_local() 2024-11-18 12:12:51 +01:00
kdb_private.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kdb_support.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00