From: Petr Vorel <petr.vorel@gmail.com>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: linux-amarula@amarulasolutions.com, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3 1/2] package/iproute2: fix building error using designated initializers
Date: Wed, 16 Oct 2024 00:12:39 +0200 [thread overview]
Message-ID: <20241015221239.GA67018@pevik> (raw)
In-Reply-To: <20240923054626.2911036-1-dario.binacchi@amarulasolutions.com>
Hi Dario,
...
> +diff --git a/misc/arpd.c b/misc/arpd.c
> +index e77ef53928a2..b4935c23eebb 100644
> +--- a/misc/arpd.c
> ++++ b/misc/arpd.c
> +@@ -437,10 +437,10 @@ static void get_kern_msg(void)
> + struct iovec iov;
> + char buf[8192];
> + struct msghdr msg = {
> +- (void *)&nladdr, sizeof(nladdr),
> +- &iov, 1,
> +- NULL, 0,
> +- 0
> ++ .msg_name = &nladdr, .msg_namelen = sizeof(nladdr),
> ++ .msg_iov = &iov, .msg_iovlen = 1,
> ++ .msg_control = (void *)NULL, .msg_controllen = 0,
> ++ .msg_flags = 0
Thanks for fixing this. You used v1 of your patch in netdev ML. You send to ML
second patch which removes useless initializers.
IMHO it's better to have a single patch where these 0 and NLL initializers are
removed. And that in the end Stephen Hemminger merged [1]. Could you please send
new version, which uses this patch and mentions the upstream commit?
Kind regards,
Petr
[1] https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=9c9824bcaf092cb99988d59717674b73b5d0d19c
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-10-15 22:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 5:46 [Buildroot] [PATCH v3 1/2] package/iproute2: fix building error using designated initializers Dario Binacchi
2024-09-23 5:46 ` [Buildroot] [PATCH v3 2/2] package/iproute2: bump to version 6.11.0 Dario Binacchi
2024-09-23 5:59 ` Baruch Siach via buildroot
2024-10-15 22:19 ` Petr Vorel
2024-10-15 22:12 ` Petr Vorel [this message]
2024-10-26 8:47 ` [Buildroot] [PATCH v3 1/2] package/iproute2: fix building error using designated initializers Thomas Petazzoni via buildroot
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=20241015221239.GA67018@pevik \
--to=petr.vorel@gmail.com \
--cc=buildroot@buildroot.org \
--cc=dario.binacchi@amarulasolutions.com \
--cc=linux-amarula@amarulasolutions.com \
/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.