[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190730.102030.2109749179893397150.davem@davemloft.net>
Date: Tue, 30 Jul 2019 10:20:30 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: colin.king@...onical.com
Cc: petrm@...lanox.com, jiri@...lanox.com, idosch@...lanox.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][net-next][V2] mlxsw: spectrum_ptp: fix duplicated
check on orig_egr_types
From: Colin King <colin.king@...onical.com>
Date: Tue, 30 Jul 2019 12:47:52 +0100
> From: Colin Ian King <colin.king@...onical.com>
>
> Currently are duplicated checks on orig_egr_types which are
> redundant, I believe this is a typo and should actually be
> orig_ing_types || orig_egr_types instead of the expression
> orig_egr_types || orig_egr_types. Fix these.
>
> Addresses-Coverity: ("Same on both sides")
> Fixes: c6b36bdd04b5 ("mlxsw: spectrum_ptp: Increase parsing depth when PTP is enabled")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Applied to net.
Powered by blists - more mailing lists