All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: Improve documentation for string_to_ip()
@ 2019-09-14  0:43 Joe Hershberger
  0 siblings, 0 replies; only message in thread
From: Joe Hershberger @ 2019-09-14  0:43 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>

---

 include/net.h | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/include/net.h b/include/net.h
index d054c5f694..a4d0b41b20 100644
--- a/include/net.h
+++ b/include/net.h
@@ -841,7 +841,14 @@ void string_to_enetaddr(const char *addr, uint8_t *enetaddr);
 /* Convert an IP address to a string */
 void ip_to_string(struct in_addr x, char *s);
 
-/* Convert a string to ip address */
+/**
+ * string_to_ip() - Convert a string to ip address
+ *
+ * Implemented in lib/net_utils.c (built unconditionally)
+ *
+ * @s: Input string to parse
+ * @return: in_addr struct containing the parsed IP address
+ */
 struct in_addr string_to_ip(const char *s);
 
 /* Convert a VLAN id to a string */
-- 
2.11.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-14  0:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-14  0:43 [U-Boot] [PATCH] net: Improve documentation for string_to_ip() Joe Hershberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.