From: Mike Frysinger Date: Fri, 17 Aug 2012 22:28:41 -0400 Subject: [U-Boot] [PATCH 1/2] net: Allow netconsole settings to change after nc_start In-Reply-To: <1345232902-4259-2-git-send-email-joe.hershberger@ni.com> References: <1345232902-4259-1-git-send-email-joe.hershberger@ni.com> <1345232902-4259-2-git-send-email-joe.hershberger@ni.com> Message-ID: <201208172228.42642.vapier@gentoo.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 Friday 17 August 2012 15:48:20 Joe Hershberger wrote: > --- a/drivers/net/netconsole.c > +++ b/drivers/net/netconsole.c > > +static int refresh_settings_from_env(void) this func always returns 0. why not change it to void to simplify the code (source and generated) ? > + char *p; const -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: