[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180219.111257.1329701897275591898.davem@davemloft.net>
Date: Mon, 19 Feb 2018 11:12:57 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: andrew@...n.ch, vivien.didelot@...oirfairelinux.com,
f.fainelli@...il.com, richardcochran@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
garsilva@...eddedor.com
Subject: Re: [PATCH] net: dsa: mv88e6xxx: hwtstamp: remove unnecessary
range checking tests
From: "Gustavo A. R. Silva" <gustavo@...eddedor.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@...il.com>
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Applied, thank you.
Powered by blists - more mailing lists