[U-Boot] [PATCH 3/3] net: Be less picky about decoding the netretry env var

Mike Frysinger vapier at gentoo.org
Thu Oct 27 08:00:15 CEST 2011


On Thu, Oct 27, 2011 at 02:18, Simon Glass wrote:
> --- a/net/net.c
> +++ b/net/net.c
>
> -               if (!strcmp(nretry, "yes"))
> +               if (*nretry == 'y')

not sure about this as it makes it hard to add code in the future if
we care about compatibility.  if we support just "y", people will
start using it.
-mike


More information about the U-Boot mailing list