From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 15 May 2018 08:28:52 -0400 Subject: [U-Boot] [U-Boot, v2, 2/2] net: bootp: Fix compile error processing ntpserver option In-Reply-To: <20180503081903.23592-2-judge.packham@gmail.com> References: <20180503081903.23592-2-judge.packham@gmail.com> Message-ID: <20180515122852.GG3424@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: