[U-Boot] [PATCH] cmd: net: fix function name in comment

Baruch Siach baruch at tkos.co.il
Tue Dec 27 10:03:29 CET 2016


In commit 7044c6bb6 (net: cosmetic: Clean up DHCP variables and functions)
BootpCopyNetParams() was renamed to store_net_params(). Update the reference in
comment.

Cc: Joe Hershberger <joe.hershberger at ni.com>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 cmd/net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/net.c b/cmd/net.c
index bed76e4bcb08..df8b6c9b53f0 100644
--- a/cmd/net.c
+++ b/cmd/net.c
@@ -136,7 +136,7 @@ static void netboot_update_env(void)
 	}
 #if !defined(CONFIG_BOOTP_SERVERIP)
 	/*
-	 * Only attempt to change serverip if net/bootp.c:BootpCopyNetParams()
+	 * Only attempt to change serverip if net/bootp.c:store_net_params()
 	 * could have set it
 	 */
 	if (net_server_ip.s_addr) {
-- 
2.11.0



More information about the U-Boot mailing list