aboutsummaryrefslogtreecommitdiff
path: root/cmd/ext2.c
diff options
context:
space:
mode:
authorSimon Glass2023-11-18 14:04:52 -0700
committerTom Rini2023-12-13 11:51:24 -0500
commit10c398d6e4a2aec1ce73f99e634781a020b467c4 (patch)
tree3f4781115ee5f6f0dd1632262bbbaba2251a56e8 /cmd/ext2.c
parentf7fac5e7f5a29e6c0e0de61b08caaaa32df0c6fd (diff)
treewide: Tidy up semicolon after command macros
The U_BOOT_CMD_COMPLETE() macro has a semicolon at the end, perhaps inadvertently. Some code has taken advantage of this. Tidy this up by dropping the semicolon from the macro and adding it to macro invocations as required. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'cmd/ext2.c')
-rw-r--r--cmd/ext2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ext2.c b/cmd/ext2.c
index 57a99516a6a..a0ce0cf5796 100644
--- a/cmd/ext2.c
+++ b/cmd/ext2.c
@@ -42,7 +42,7 @@ U_BOOT_CMD(
"list files in a directory (default /)",
"<interface> <dev[:part]> [directory]\n"
" - list files from 'dev' on 'interface' in a 'directory'"
-)
+);
U_BOOT_CMD(
ext2load, 6, 0, do_ext2load,
@@ -50,4 +50,4 @@ U_BOOT_CMD(
"<interface> [<dev[:part]> [addr [filename [bytes [pos]]]]]\n"
" - load binary file 'filename' from 'dev' on 'interface'\n"
" to address 'addr' from ext2 filesystem."
-)
+);