Home
last modified time | relevance | path

Searched hist:"2 ad07086a557efdd80dd036f7b843bd3c51b81c2" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.cdiff 2ad07086a557efdd80dd036f7b843bd3c51b81c2 Tue Jul 30 06:47:52 CDT 2019 Colin Ian King <colin.king@canonical.com> mlxsw: spectrum_ptp: fix duplicated check on orig_egr_types

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@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>