From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= Date: Thu, 19 Jul 2012 13:19:34 +0200 (CEST) Subject: [U-Boot] [PATCH] net: link_local: fix build In-Reply-To: <661617676.262827.1342696766113.JavaMail.root@advansee.com> Message-ID: <828519589.262830.1342696774662.JavaMail.root@advansee.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix comment within comment build error. Signed-off-by: Beno?t Th?baudeau Cc: Joe Hershberger --- .../net/link_local.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git u-boot-66714b1.orig/net/link_local.c u-boot-66714b1/net/link_local.c index 8e7665f..d52f13a 100644 --- u-boot-66714b1.orig/net/link_local.c +++ u-boot-66714b1/net/link_local.c @@ -225,8 +225,8 @@ void link_local_receive_arp(struct arp_hdr *arp, int len) timeout_ms = diff | 1; /* never 0 */ } } -/* - * XXX Don't bother with ethernet link just yet +#if 0 + /* XXX Don't bother with ethernet link just yet */ if ((fds[0].revents & POLLIN) == 0) { if (fds[0].revents & POLLERR) { /* @@ -240,7 +240,7 @@ void link_local_receive_arp(struct arp_hdr *arp, int len) } continue; } -*/ +#endif debug_cond(DEBUG_INT_STATE, "%s recv arp type=%d, op=%d,\n", eth_get_name(), ntohs(arp->ar_pro),