From: David Miller <davem@davemloft.net>
To: gustavo@embeddedor.com
Cc: andrew@lunn.ch, vivien.didelot@savoirfairelinux.com,
f.fainelli@gmail.com, richardcochran@gmail.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
garsilva@embeddedor.com
Subject: Re: [PATCH] net: dsa: mv88e6xxx: hwtstamp: remove unnecessary range checking tests
Date: Mon, 19 Feb 2018 11:12:57 -0500 (EST) [thread overview]
Message-ID: <20180219.111257.1329701897275591898.davem@davemloft.net> (raw)
In-Reply-To: <20180216174739.GA8415@embeddedgus>
From: "Gustavo A. R. Silva" <gustavo@embeddedor.com>
Date: Fri, 16 Feb 2018 11:47:39 -0600
> _port_ is already known to be a valid index in the callers [1]. So
> these checks are unnecessary.
>
> [1] https://lkml.org/lkml/2018/2/16/469
>
> Addresses-Coverity-ID: 1465287
> Addresses-Coverity-ID: 1465291
> Suggested-by: Richard Cochran <richardcochran@gmail.com>
> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Applied, thank you.
prev parent reply other threads:[~2018-02-19 16:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-16 17:47 [PATCH] net: dsa: mv88e6xxx: hwtstamp: remove unnecessary range checking tests Gustavo A. R. Silva
2018-02-19 16:12 ` David Miller [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=20180219.111257.1329701897275591898.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=garsilva@embeddedor.com \
--cc=gustavo@embeddedor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
--cc=vivien.didelot@savoirfairelinux.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).