On Thu, May 03, 2018 at 08:19:03PM +1200, Chris Packham wrote:

> When the following configuration is set
> 
>   # CONFIG_CMD_DHCP is not set
>   CONFIG_CMD_BOOTP=y
>   CONFIG_BOOTP_NTPSERVER=y
> 
> The following compile error is observed
> 
>   error: used struct type value where scalar is required
>     if (net_ntp_server)
>         ^~~~~~~~~~~~~~
> 
> Resolve this by checking net_ntp_server.s_addr instead.
> 
> Signed-off-by: Chris Packham <judge.pack...@gmail.com>
> Acked-by: Joe Hershberger <joe.hershber...@ni.com>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to