All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2, 2/2] net: bootp: Fix compile error processing ntpserver option
Date: Tue, 15 May 2018 08:28:52 -0400	[thread overview]
Message-ID: <20180515122852.GG3424@bill-the-cat.ec.rr.com> (raw)
In-Reply-To: <20180503081903.23592-2-judge.packham@gmail.com>

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.packham@gmail.com>
> Acked-by: Joe Hershberger <joe.hershberger@ni.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20180515/d10e39f8/attachment.sig>

  reply	other threads:[~2018-05-15 12:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-03  8:19 [U-Boot] [PATCH v2 1/2] net: Add Kconfig option for BOOTP_NTPSERVER Chris Packham
2018-05-03  8:19 ` [U-Boot] [PATCH v2 2/2] net: bootp: Fix compile error processing ntpserver option Chris Packham
2018-05-15 12:28   ` Tom Rini [this message]
2018-05-03 15:15 ` [U-Boot] [PATCH v2 1/2] net: Add Kconfig option for BOOTP_NTPSERVER Joe Hershberger
2018-05-15 12:28 ` [U-Boot] [U-Boot, v2, " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180515122852.GG3424@bill-the-cat.ec.rr.com \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.