All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] net: bootp: fix build
Date: Thu, 19 Jul 2012 13:23:21 +0200 (CEST)	[thread overview]
Message-ID: <1574131995.263000.1342697001958.JavaMail.root@advansee.com> (raw)
In-Reply-To: <1827589421.262998.1342697000376.JavaMail.root@advansee.com>

Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL.

Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
---
 .../net/bootp.c                                    |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git u-boot-66714b1.orig/net/bootp.c u-boot-66714b1/net/bootp.c
index 87e30ab..c9b8349 100644
--- u-boot-66714b1.orig/net/bootp.c
+++ u-boot-66714b1/net/bootp.c
@@ -330,7 +330,7 @@ BootpTimeout(void)
 	if (BootpTry >= TIMEOUT_COUNT) {
 #ifdef CONFIG_BOOTP_MAY_FAIL
 		puts("\nRetry count exceeded\n");
-		NetSetState(NETLOOP_FAIL);
+		net_set_state(NETLOOP_FAIL);
 #else
 		puts("\nRetry count exceeded; starting again\n");
 		NetStartAgain();

       reply	other threads:[~2012-07-19 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1827589421.262998.1342697000376.JavaMail.root@advansee.com>
2012-07-19 11:23 ` Benoît Thébaudeau [this message]
2012-07-19 17:54   ` [U-Boot] [PATCH] net: bootp: fix build Joe Hershberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1574131995.263000.1342697001958.JavaMail.root@advansee.com \
    --to=benoit.thebaudeau@advansee.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.