On Mon, Feb 24, 2020 at 09:55:57AM +0300, Dan Carpenter wrote: > The mlx5e_fec_in_caps() function is type bool so these negative returns > become "return true;" when they should be "return false;" > > Fixes: 2132b71f78d2 ("net/mlx5e: Advertise globaly supported FEC modes") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > --- > drivers/net/ethernet/mellanox/mlx5/core/en/port.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Thanks, Acked-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>