From: Stephen Hemminger <shemming@brocade.com>
To: Phil Sutter <phil@nwl.cc>
Cc: <netdev@vger.kernel.org>
Subject: Re: [iproute PATCH 0/5] warning-annoyance induced code-review
Date: Sun, 29 Nov 2015 11:51:51 -0800 [thread overview]
Message-ID: <20151129115151.637686fb@xeon-e3> (raw)
In-Reply-To: <1448668805-28074-1-git-send-email-phil@nwl.cc>
On Sat, 28 Nov 2015 01:00:00 +0100
Phil Sutter <phil@nwl.cc> wrote:
> The primary goal was to get rid of the -Wunused-result warnings emitted
> during compiling. While adding the necessary checks, I found a few
> functions which could benefit from a bigger review (patches 1, 2 and 3).
> Patch 4 then adds the remaining missing checks, and patch 5 simplifies
> fgets() usage at a few spots.
>
> Note that the last patch is my first Coccinelle-generated change, which
> makes me especially proud. Many thanks again to Julia Lawall for her kind
> support via IRC at this point!
>
> Phil Sutter (5):
> lnstat: review lnstat_update()
> ss: reduce max indentation level in init_service_resolver()
> ss: review is_ephemeral()
> get rid of remaining -Wunused-result warnings
> get rid of unnecessary fgets() buffer size limitation
>
> misc/arpd.c | 2 +-
> misc/ifstat.c | 6 ++-
> misc/lnstat_util.c | 21 +++++------
> misc/nstat.c | 6 ++-
> misc/ss.c | 107 ++++++++++++++++++++++++++++-------------------------
> 5 files changed, 74 insertions(+), 68 deletions(-)
>
Applied, thanks
prev parent reply other threads:[~2015-11-29 19:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-28 0:00 [iproute PATCH 0/5] warning-annoyance induced code-review Phil Sutter
2015-11-28 0:00 ` [iproute PATCH 1/5] lnstat: review lnstat_update() Phil Sutter
2015-11-28 0:00 ` [iproute PATCH 2/5] ss: reduce max indentation level in init_service_resolver() Phil Sutter
2015-11-28 0:00 ` [iproute PATCH 3/5] ss: review is_ephemeral() Phil Sutter
2015-11-28 0:00 ` [iproute PATCH 4/5] get rid of remaining -Wunused-result warnings Phil Sutter
2015-11-28 0:00 ` [iproute PATCH 5/5] get rid of unnecessary fgets() buffer size limitation Phil Sutter
2015-11-29 19:51 ` 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=20151129115151.637686fb@xeon-e3 \
--to=shemming@brocade.com \
--cc=netdev@vger.kernel.org \
--cc=phil@nwl.cc \
/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).