[U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

Mike Frysinger
2012-01-11T01:26:20Z

On Tuesday 10 January 2012 18:48:12 Doug Anderson wrote:
> On Tue, Jan 10, 2012 at 3:44 PM, Mike Frysinger <vapier@gentoo.org> 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: <http://lists.denx.de/pipermail/u-boot/attachments/20120110/1b03ff79/attachment.pgp>