[U-Boot] [PATCH 2/3] sntp: avoid use of uninitialized variable

Chris Packham judge.packham at gmail.com
Fri May 13 03:34:27 CEST 2011


On Fri, May 13, 2011 at 1:29 PM, Chris Packham <judge.packham at gmail.com> wrote:
> From: Luuk Paulussen <luuk.paulussen at alliedtelesis.co.nz>
>
> When we use the ntpserverip environment variable argv[1] may not be set.
> Printing the error message using the NetNtpServerIP variable ensures the
> correct output in both cases.
>
> Signed-off-by: Luuk Paulussen <luuk.paulussen at alliedtelesis.co.nz>
> Acked-by: Chris Packham <chris.packham at alliedtelesis.co.nz>
> Cc: Ben Warren <biggerbadderben at gmail.com>
> ---

Sorry for the spam. I was just trying (and failing) to get git to add the Cc.


More information about the U-Boot mailing list