From b6ea92247de948579715379abb591e61e887e7a5 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Tue, 4 Dec 2018 23:50:02 +0100 Subject: [PATCH] target/adi_v5_swd: add "usage" field to command "swd" The missing field causes runtime debug message BUG: command 'swd' does not have the '.usage' field filled out Change-Id: I5a36c0fc822c4d5d74ef2d1c75e369648c6f7d4d Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/4830 Tested-by: jenkins Reviewed-by: Tomas Vanek --- src/target/adi_v5_swd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/target/adi_v5_swd.c b/src/target/adi_v5_swd.c index d92e2961ef..594b5081fd 100644 --- a/src/target/adi_v5_swd.c +++ b/src/target/adi_v5_swd.c @@ -352,6 +352,7 @@ static const struct command_registration swd_handlers[] = { .mode = COMMAND_ANY, .help = "SWD command group", .chain = swd_commands, + .usage = "", }, COMMAND_REGISTRATION_DONE }; -- 2.30.2