From: Stephen Hemminger <stephen@networkplumber.org>
To: Phil Sutter <phil@nwl.cc>
Cc: Stephen Hemminger <shemming@Brocade.com>,
Daniel Borkmann <daniel@iogearbox.net>,
David Ahern <dsa@cumulusnetworks.com>,
Nicolas Dichtel <nicolas.dichtel@6wind.com>,
Julien Floret <julien.floret@6wind.com>,
David Laight <David.Laight@ACULAB.COM>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [iproute PATCH v5 1/5] tc: m_action: Improve conversion to C99 style initializers
Date: Wed, 20 Jul 2016 12:15:06 -0700 [thread overview]
Message-ID: <20160720121506.1a2ef09a@xeon-e3> (raw)
In-Reply-To: <b5628e0db415424485e9cb6975d1f576@HQ1WP-EXMB11.corp.brocade.com>
On Mon, 18 Jul 2016 14:48:41 +0000
Phil Sutter <phil@nwl.cc> wrote:
> This improves my initial change in the following points:
>
> - Flatten embedded struct's initializers.
> - No need to initialize variables to zero as the key feature of C99
> initializers is to do this implicitly.
> - By relocating the declaration of struct rtattr *tail, it can be
> initialized at the same time.
>
> Fixes: a0a73b298a579 ("tc: m_action: Use C99 style initializers for struct req")
> Signed-off-by: Phil Sutter <phil@nwl.cc>
Series applied
prev parent reply other threads:[~2016-07-20 19:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-18 14:48 [iproute PATCH v5 0/5] Big C99 style initializer rework Phil Sutter
2016-07-18 14:48 ` [iproute PATCH v5 1/5] tc: m_action: Improve conversion to C99 style initializers Phil Sutter
2016-07-18 16:09 ` David Ahern
2016-07-18 14:48 ` [iproute PATCH v5 2/5] Use C99 style initializers everywhere Phil Sutter
2016-07-18 16:09 ` David Ahern
2016-07-18 14:48 ` [iproute PATCH v5 3/5] Replace malloc && memset by calloc Phil Sutter
2016-07-18 16:10 ` David Ahern
2016-07-18 14:48 ` [iproute PATCH v5 4/5] No need to initialize rtattr fields before parsing Phil Sutter
2016-07-18 16:10 ` David Ahern
2016-07-18 14:48 ` [iproute PATCH v5 5/5] Makefile: Allow to override CC Phil Sutter
2016-07-18 16:10 ` David Ahern
[not found] ` <b5628e0db415424485e9cb6975d1f576@HQ1WP-EXMB11.corp.brocade.com>
2016-07-20 19:15 ` Stephen Hemminger [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=20160720121506.1a2ef09a@xeon-e3 \
--to=stephen@networkplumber.org \
--cc=David.Laight@ACULAB.COM \
--cc=daniel@iogearbox.net \
--cc=dsa@cumulusnetworks.com \
--cc=julien.floret@6wind.com \
--cc=netdev@vger.kernel.org \
--cc=nicolas.dichtel@6wind.com \
--cc=phil@nwl.cc \
--cc=shemming@Brocade.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).