All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: "Milan P. Stanić" <mps@arvanta.net>
Cc: Simon Glass <sjg@chromium.org>,
	u-boot@lists.denx.de,
	 Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: Re: [PATCH 1/1] sandbox: eth-raw: fix building with musl library
Date: Wed, 26 Jan 2022 07:36:30 -0800	[thread overview]
Message-ID: <CAPnjgZ1B-wz0VfHK+GPTEO8TOOrSeK938XHAcXqLg42NOKCGjA@mail.gmail.com> (raw)
In-Reply-To: <YesToyhe2mjxIKBj@m1>

Hi,

it works and build pass without error or warning.
Tested on alpine edge aarch64 bare metal.

Thank you

On Fri, 2022-01-21 at 18:01, Heinrich Schuchardt wrote:
> The definition of struct udphdr in include netinet/udp.h in the
> musl library differs from the definition in the glibc library.
>
> To use the same definition with musl the symbol _GNU_SOURCE has
> to be defined.
>
> Reported-by: Milan P. Stanić <mps@arvanta.net>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>

Tested-by: Milan P. Stanić <mps@arvanta.net>

> ---
>  arch/sandbox/cpu/eth-raw-os.c | 2 ++
>  1 file changed, 2 insertions(+)
>
Applied to u-boot-dm, thanks!

      parent reply	other threads:[~2022-01-26 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 17:01 [PATCH 1/1] sandbox: eth-raw: fix building with musl library Heinrich Schuchardt
2022-01-21 20:12 ` Milan P. Stanić
2022-01-26 15:36 ` Simon Glass [this message]

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=CAPnjgZ1B-wz0VfHK+GPTEO8TOOrSeK938XHAcXqLg42NOKCGjA@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=heinrich.schuchardt@canonical.com \
    --cc=mps@arvanta.net \
    --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.