mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 04:21:18 +02:00
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>
This commit is contained in:
8
cmd/fs.c
8
cmd/fs.c
@@ -39,7 +39,7 @@ U_BOOT_CMD(
|
||||
" If 'bytes' is 0 or omitted, the file is read until the end.\n"
|
||||
" 'pos' gives the file byte position to start reading from.\n"
|
||||
" If 'pos' is 0 or omitted, the file is read from the start."
|
||||
)
|
||||
);
|
||||
|
||||
static int do_save_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
@@ -56,7 +56,7 @@ U_BOOT_CMD(
|
||||
" 'bytes' gives the size to save in bytes and is mandatory.\n"
|
||||
" 'pos' gives the file byte position to start writing to.\n"
|
||||
" If 'pos' is 0 or omitted, the file is written from the start."
|
||||
)
|
||||
);
|
||||
|
||||
static int do_ls_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
@@ -70,7 +70,7 @@ U_BOOT_CMD(
|
||||
"<interface> [<dev[:part]> [directory]]\n"
|
||||
" - List files in directory 'directory' of partition 'part' on\n"
|
||||
" device type 'interface' instance 'dev'."
|
||||
)
|
||||
);
|
||||
|
||||
static int do_ln_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
@@ -84,7 +84,7 @@ U_BOOT_CMD(
|
||||
"<interface> <dev[:part]> target linkname\n"
|
||||
" - create a symbolic link to 'target' with the name 'linkname' on\n"
|
||||
" device type 'interface' instance 'dev'."
|
||||
)
|
||||
);
|
||||
|
||||
static int do_fstype_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[])
|
||||
|
Reference in New Issue
Block a user