Patchwork [U-Boot] cmd_net.c: fix build breakage

login
register
mail settings
Submitter Wolfgang Denk
Date Dec. 23, 2010, 4:04 p.m.
Message ID <1293120266-28753-1-git-send-email-wd@denx.de>
Download mbox | patch
Permalink /patch/76521/
State Accepted
Commit 4b58266e952aaba4c1184c18eb9de5d82afe85cd
Headers show

Comments

Wolfgang Denk - Dec. 23, 2010, 4:04 p.m.
Commit 722b061 "autocomplete: remove runtime handler install" caused
some boards (like NETTA2_V2) to break with errors like these:

cmd_net.c:296: error: expected expression before ',' token

Fix this.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
---
 common/cmd_net.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Wolfgang Denk - Jan. 9, 2011, 4:50 p.m.
Dear Wolfgang Denk,

In message <1293120266-28753-1-git-send-email-wd@denx.de> you wrote:
> Commit 722b061 "autocomplete: remove runtime handler install" caused
> some boards (like NETTA2_V2) to break with errors like these:
> 
> cmd_net.c:296: error: expected expression before ',' token
> 
> Fix this.
> 
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Mike Frysinger <vapier@gentoo.org>
> ---
>  common/cmd_net.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)

Applied.

Best regards,

Wolfgang Denk

Patch

diff --git a/common/cmd_net.c b/common/cmd_net.c
index 973fa21..00e0ea8 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -296,6 +296,7 @@  int do_cdp (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 U_BOOT_CMD(
 	cdp,	1,	1,	do_cdp,
 	"Perform CDP network configuration",
+	"\n"
 );
 #endif