From 98fc0d41be3806ec5ffa160692a39e90b76898f0 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 22 Apr 2015 14:38:42 -0700 Subject: [PATCH] android: fiq_debugger: fix cut-off help message fiq_debugger_printf has a 256 byte limit, which was causing the help lines for "kmsg" and "version" to be dropped. Split the long string into two calls. Change-Id: I55f9f030247cc16d13ae6236736311a5ef0c7aa0 Signed-off-by: Colin Cross --- drivers/staging/android/fiq_debugger/fiq_debugger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/fiq_debugger/fiq_debugger.c b/drivers/staging/android/fiq_debugger/fiq_debugger.c index 7d6b4ae8a2cd..1d733624d70a 100644 --- a/drivers/staging/android/fiq_debugger/fiq_debugger.c +++ b/drivers/staging/android/fiq_debugger/fiq_debugger.c @@ -429,7 +429,8 @@ static void fiq_debugger_help(struct fiq_debugger_state *state) " pc PC status\n" " regs Register dump\n" " allregs Extended Register dump\n" - " bt Stack trace\n" + " bt Stack trace\n"); + fiq_debugger_printf(&state->output, " reboot [] Reboot with command \n" " reset [] Hard reset with command \n" " irqs Interupt status\n" -- 2.34.1