diff mbox series

[1/1] net: correct the description of ip_to_string()

Message ID 20241119100907.24531-1-heinrich.schuchardt@canonical.com
State Accepted
Delegated to: Ramon Fried
Headers show
Series [1/1] net: correct the description of ip_to_string() | expand

Commit Message

Heinrich Schuchardt Nov. 19, 2024, 10:09 a.m. UTC
The output of ip_to_string() is a string.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 include/net-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Jan. 1, 2025, 8:41 p.m. UTC | #1
On Tue, 19 Nov 2024 11:09:07 +0100, Heinrich Schuchardt wrote:

> The output of ip_to_string() is a string.
> 
> 

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/include/net-common.h b/include/net-common.h
index b7a519e36db..ed3d0a4a185 100644
--- a/include/net-common.h
+++ b/include/net-common.h
@@ -427,7 +427,7 @@  void string_to_enetaddr(const char *addr, uint8_t *enetaddr);
 struct in_addr string_to_ip(const char *s);
 
 /**
- * ip_to_string() - Convert a string to ip address
+ * ip_to_string() - Convert an IPv4 address to a string
  *
  * Implemented in lib/net_utils.c (built unconditionally)
  *