summaryrefslogtreecommitdiff
path: root/env/common.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 /env/common.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 'env/common.c')
-rw-r--r--env/common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/env/common.c b/env/common.c
index ee957c0a8c0..f9226e0690d 100644
--- a/env/common.c
+++ b/env/common.c
@@ -47,7 +47,7 @@ struct hsearch_data env_htab = {
*
* @param varname Environment variable to set
* @param value Value to set it to
- * @return 0 if ok, 1 on error
+ * Return: 0 if ok, 1 on error
*/
int env_set_ulong(const char *varname, ulong value)
{
@@ -62,7 +62,7 @@ int env_set_ulong(const char *varname, ulong value)
*
* @param varname Environment variable to set
* @param value Value to set it to
- * @return 0 if ok, 1 on error
+ * Return: 0 if ok, 1 on error
*/
int env_set_hex(const char *varname, ulong value)
{
@@ -208,7 +208,7 @@ int env_get_f(const char *name, char *buf, unsigned len)
* @param base Number base to use (normally 10, or 16 for hex)
* @param default_val Default value to return if the variable is not
* found
- * @return the decoded value, or default_val if not found
+ * Return: the decoded value, or default_val if not found
*/
ulong env_get_ulong(const char *name, int base, ulong default_val)
{