From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Balister Date: Mon, 26 Sep 2011 10:24:54 -0400 Subject: [U-Boot] [PATCH] net/eth: add newline to "failed MAC address" warning In-Reply-To: <1316782071-8988-1-git-send-email-holger.brunck@keymile.com> References: <1316782071-8988-1-git-send-email-holger.brunck@keymile.com> Message-ID: <4E808B36.6020404@balister.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/23/2011 08:47 AM, Holger Brunck wrote: > 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 Acked-by: Philip Balister But, when i submitted the same patch, I was told this is not the right way to solve the problem. I would still like to see this patch go in until someone has time to rewrite the problem section of code. Philip > --- > 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;