[U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD

Building for boards that have CONFIG_CMD_CDP enabled fail with: cmd_net.c:301: error: expected expression before ',' token
Signed-off-by: Mike Frysinger vapier@gentoo.org --- common/cmd_net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/common/cmd_net.c b/common/cmd_net.c index 44d17db..b131006 100644 --- a/common/cmd_net.c +++ b/common/cmd_net.c @@ -297,7 +297,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", + "Perform CDP network configuration" ); #endif

Dear Mike Frysinger,
In message 1287560010-31252-1-git-send-email-vapier@gentoo.org you wrote:
Building for boards that have CONFIG_CMD_CDP enabled fail with: cmd_net.c:301: error: expected expression before ',' token
Signed-off-by: Mike Frysinger vapier@gentoo.org
common/cmd_net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk

In message 20101026191510.5AC28152451@gemini.denx.de I wrote:
Dear Mike Frysinger,
In message 1287560010-31252-1-git-send-email-vapier@gentoo.org you wrote:
Building for boards that have CONFIG_CMD_CDP enabled fail with: cmd_net.c:301: error: expected expression before ',' token
Signed-off-by: Mike Frysinger vapier@gentoo.org
common/cmd_net.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
I wish I had tested this before applying - and even more I wish you had run MAKEALL as requested when sumbitting patches.
Reverted, as it breaks building of some boards:
Configuring for LANTEC board... cmd_net.c:301:1: error: macro "U_BOOT_CMD" requires 6 arguments, but only 5 given cmd_net.c:298: warning: data definition has no type or storage class cmd_net.c:298: warning: type defaults to 'int' in declaration of 'U_BOOT_CMD' make[1]: *** [/work/wd/tmp-ppc/common/cmd_net.o] Error 1
Best regards,
Wolfgang Denk

On Tuesday, October 26, 2010 17:45:10 Wolfgang Denk wrote:
In message 20101026191510.5AC28152451@gemini.denx.de I wrote:
Mike Frysinger wrote:
Building for boards that have CONFIG_CMD_CDP enabled fail with: cmd_net.c:301: error: expected expression before ',' token
Applied, thanks.
I wish I had tested this before applying - and even more I wish you had run MAKEALL as requested when sumbitting patches.
actually, as i had stated in one of my other patches, i *was* running MAKEALL but the vast majority of boards were failing (probably because of your patches you noted some time later). for the few boards that didnt fail in that way, they were failing *because of this code*.
i wrote the patch *because* MAKEALL was reporting failures due to this code. but perhaps the failure i was seeing was just fallout of the bad patches you had pushed already. i guess i dont really care because none of my boards were or are failing due to this, and i'll stop trying to fix other people's board failures. -mike
participants (2)
-
Mike Frysinger
-
Wolfgang Denk