summaryrefslogtreecommitdiff
path: root/cmd/gpt.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-01-20 09:39:45 -0500
committerTom Rini <trini@konsulko.com>2022-01-20 09:39:45 -0500
commit280db76f1526c2e3657c013ab679a120eed8e6b7 (patch)
tree7843623ac19ed2d714792236b2be748270986f9c /cmd/gpt.c
parent068415eadefbbc81f14d4ce61fcf7a7eb39650d4 (diff)
parent185f812c419f1b4f0d10d9787d59cf9f11a2a600 (diff)
Merge tag 'doc-2022-04-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request doc-2022-04-rc1 Replace @return by Return: in code comments.
Diffstat (limited to 'cmd/gpt.c')
-rw-r--r--cmd/gpt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/gpt.c b/cmd/gpt.c
index f818fbb71fc..1c0525fbf62 100644
--- a/cmd/gpt.c
+++ b/cmd/gpt.c
@@ -38,7 +38,7 @@ static LIST_HEAD(disk_partitions);
* @param str - pointer to string
* @param env - pointer to pointer to extracted env
*
- * @return - zero on successful expand and env is set
+ * Return: - zero on successful expand and env is set
*/
static int extract_env(const char *str, char **env)
{
@@ -97,7 +97,7 @@ static int extract_env(const char *str, char **env)
* @param str - pointer to string with key=values pairs
* @param key - pointer to the key to search for
*
- * @return - pointer to allocated string with the value
+ * Return: - pointer to allocated string with the value
*/
static char *extract_val(const char *str, const char *key)
{
@@ -134,7 +134,7 @@ static char *extract_val(const char *str, const char *key)
* @param str - pointer to string with key
* @param key - pointer to the key to search for
*
- * @return - true on found key
+ * Return: - true on found key
*/
static bool found_key(const char *str, const char *key)
{
@@ -403,7 +403,7 @@ static int do_get_gpt_info(struct blk_desc *dev_desc, char * const namestr)
* @param partitions - pointer to pointer to allocated partitions array
* @param parts_count - number of partitions
*
- * @return - zero on success, otherwise error
+ * Return: - zero on success, otherwise error
*
*/
static int set_gpt_info(struct blk_desc *dev_desc,
@@ -969,7 +969,7 @@ static int do_rename_gpt_parts(struct blk_desc *dev_desc, char *subcomm,
* @param argc
* @param argv
*
- * @return zero on success; otherwise error
+ * Return: zero on success; otherwise error
*/
static int do_gpt(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{