summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-01-20 17:39:45 +0300
committerTom Rini <trini@konsulko.com>2022-01-20 17:39:45 +0300
commit280db76f1526c2e3657c013ab679a120eed8e6b7 (patch)
tree7843623ac19ed2d714792236b2be748270986f9c /net
parent068415eadefbbc81f14d4ce61fcf7a7eb39650d4 (diff)
parent185f812c419f1b4f0d10d9787d59cf9f11a2a600 (diff)
downloadu-boot-280db76f1526c2e3657c013ab679a120eed8e6b7.tar.xz
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 'net')
-rw-r--r--net/eth_internal.h2
-rw-r--r--net/tftp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/eth_internal.h b/net/eth_internal.h
index faff0ef866..042e58a99a 100644
--- a/net/eth_internal.h
+++ b/net/eth_internal.h
@@ -22,7 +22,7 @@ void eth_common_init(void);
* @base_name: Base name for variable, typically "eth"
* @index: Index of interface being updated (>=0)
* @enetaddr: Pointer to MAC address to put into the variable
- * @return 0 if OK, other value on error
+ * Return: 0 if OK, other value on error
*/
int eth_env_set_enetaddr_by_index(const char *base_name, int index,
uchar *enetaddr);
diff --git a/net/tftp.c b/net/tftp.c
index 87392014d5..62a9648474 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -230,7 +230,7 @@ static void new_transfer(void)
* @param block Block number to send
* @param dst Destination buffer for data
* @param len Number of bytes in block (this one and every other)
- * @return number of bytes loaded
+ * Return: number of bytes loaded
*/
static int load_block(unsigned block, uchar *dst, unsigned len)
{