diff mbox

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

Message ID 70efe8fa596af3aa425badc98fbc58530e22c639.1482829409.git.baruch@tkos.co.il
State Accepted
Commit ff78ad284aac73c5a5ff79bced25d2f5f7f0e18e
Delegated to: Tom Rini
Headers show

Commit Message

Baruch Siach Dec. 27, 2016, 9:03 a.m. UTC
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@ni.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 cmd/net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Dec. 29, 2016, 10:40 p.m. UTC | #1
On Tue, Dec 27, 2016 at 11:03:29AM +0200, Baruch Siach wrote:

> 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@ni.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Applied to u-boot/master, thanks!
diff mbox

Patch

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) {