[PATCH] fixup! commands: add stacksmash command for causing stack overflows

Ahmad Fatoum a.fatoum at pengutronix.de
Thu Sep 14 02:14:38 PDT 2023


commands: stacksmash: fix whitespace in command description

Command description mixed spaces and tabs. Fix it to have tabs only.

Cc: Thorsten Scherer <T.Scherer at eckelmann.de>
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
Thanks, Thorsten!
---
 commands/stacksmash.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/commands/stacksmash.c b/commands/stacksmash.c
index 1e9be0d40e15..b812d945e215 100644
--- a/commands/stacksmash.c
+++ b/commands/stacksmash.c
@@ -50,9 +50,9 @@ static int do_stacksmash(int argc, char *argv[])
 	panic("Stack smashing of %s not caught\n", argv[1]);
 }
 BAREBOX_CMD_START(stacksmash)
-        .cmd            = do_stacksmash,
-        BAREBOX_CMD_DESC("Run stack smashing tests")
+	.cmd            = do_stacksmash,
+	BAREBOX_CMD_DESC("Run stack smashing tests")
 	BAREBOX_CMD_OPTS("[frame | region]")
-        BAREBOX_CMD_GROUP(CMD_GRP_MISC)
-        BAREBOX_CMD_COMPLETE(empty_complete)
+	BAREBOX_CMD_GROUP(CMD_GRP_MISC)
+	BAREBOX_CMD_COMPLETE(empty_complete)
 BAREBOX_CMD_END
-- 
2.39.2




More information about the barebox mailing list