From: Mike Frysinger Date: Tue, 10 Jan 2012 20:26:20 -0500 Subject: [U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE In-Reply-To: References: <1326231380-30128-1-git-send-email-dianders@chromium.org> <201201101844.07854.vapier@gentoo.org> Message-ID: <201201102026.21817.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 Tuesday 10 January 2012 18:48:12 Doug Anderson wrote: > On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger wrote: > > On Tuesday 10 January 2012 18:38:07 Doug Anderson wrote: > > getenv returns a writable buffer, so i wonder if things couldn't be > > avoided easily all around. after all, you're just deleting bytes here, > > not adding new ones. > > Actually, that's not quite true. The current code will add "console=" > in the case that it finds no console argument. true ... we could still relegate the strdup/free to that step ... -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: