public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net/eth: add newline to "failed MAC address" warning
@ 2011-09-23 12:47 Holger Brunck
  2011-09-26 14:24 ` Philip Balister
  2011-10-01 19:55 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Holger Brunck @ 2011-09-23 12:47 UTC (permalink / raw)
  To: u-boot

This prevents u-boot to display during bootime:
Out:   serial
Err:   serial
Net:   UEC3Warning: failed to set MAC address

Now corrected and it will display:
Out:   serial
Err:   serial
Net:   UEC3
Warning: failed to set MAC address

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
---
 net/eth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/eth.c b/net/eth.c
index 02baa37..1c0c780 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -302,7 +302,7 @@ int eth_initialize(bd_t *bis)
 				puts("\nWarning: eth device name has a space!\n");
 
 			if (eth_write_hwaddr(dev, "eth", eth_number))
-				puts("Warning: failed to set MAC address\n");
+				puts("\nWarning: failed to set MAC address\n");
 
 			eth_number++;
 			dev = dev->next;
-- 
1.7.1

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

end of thread, other threads:[~2011-10-01 19:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-23 12:47 [U-Boot] [PATCH] net/eth: add newline to "failed MAC address" warning Holger Brunck
2011-09-26 14:24 ` Philip Balister
2011-09-26 16:07   ` Mike Frysinger
2011-09-26 16:40     ` Holger Brunck
2011-10-01 19:55 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox