diff options
| author | Colin Cross <ccross@android.com> | 2015-04-22 14:38:42 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-11-07 13:46:45 +0100 |
| commit | 72d616823e4d1d0ef1c1ca0edfd8167073c9ecb3 (patch) | |
| tree | 6b62d941b0324b9de1ecf2e89e4e5a973c2ba3a4 | |
| parent | a1867b80f6e91fa1d5186900e39986910ea5a231 (diff) | |
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 <ccross@android.com>
| -rw-r--r-- | drivers/staging/android/fiq_debugger/fiq_debugger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/android/fiq_debugger/fiq_debugger.c b/drivers/staging/android/fiq_debugger/fiq_debugger.c index 7d6b4ae8a..1d733624d 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 [<c>] Reboot with command <c>\n" " reset [<c>] Hard reset with command <c>\n" " irqs Interupt status\n" |
