All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD
@ 2010-10-20  7:33 Mike Frysinger
  2010-10-26 19:15 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2010-10-20  7:33 UTC (permalink / raw)
  To: u-boot

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
 
-- 
1.7.3.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD
  2010-10-20  7:33 [U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD Mike Frysinger
@ 2010-10-26 19:15 ` Wolfgang Denk
  2010-10-26 21:45   ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2010-10-26 19:15 UTC (permalink / raw)
  To: u-boot

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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
America has been discovered before, but it has always been hushed up.
- Oscar Wilde

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD
  2010-10-26 19:15 ` Wolfgang Denk
@ 2010-10-26 21:45   ` Wolfgang Denk
  2010-10-27  0:45     ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2010-10-26 21:45 UTC (permalink / raw)
  To: u-boot

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

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Unsichtbar macht sich die Dummheit, indem sie immer  gr??ere  Ausma?e
annimmt.                             -- Bertold Brecht: Der Tui-Roman

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD
  2010-10-26 21:45   ` Wolfgang Denk
@ 2010-10-27  0:45     ` Mike Frysinger
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2010-10-27  0:45 UTC (permalink / raw)
  To: u-boot

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20101026/ed655b40/attachment.pgp 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-10-27  0:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-20  7:33 [U-Boot] [PATCH] cmd_net: drop spurious comma in U_BOOT_CMD Mike Frysinger
2010-10-26 19:15 ` Wolfgang Denk
2010-10-26 21:45   ` Wolfgang Denk
2010-10-27  0:45     ` Mike Frysinger

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.