aboutsummaryrefslogtreecommitdiff
path: root/drivers/eisa
diff options
context:
space:
mode:
authorSaeed Mahameed2020-09-11 11:00:06 -0700
committerSaeed Mahameed2020-09-21 17:22:25 -0700
commitcb39ccc5cbe1011d8d21886b75e2468070ac672c (patch)
tree1daa8dc532ed638dbfb86eb366b69b1665a7aff0 /drivers/eisa
parent94c4fed710c372313157f20b5eced39d04a96f88 (diff)
net/mlx5e: mlx5e_fec_in_caps() returns a boolean
Returning errno is a bug, fix that. Also fixes smatch warnings: drivers/net/ethernet/mellanox/mlx5/core/en/port.c:453 mlx5e_fec_in_caps() warn: signedness bug returning '(-95)' Fixes: 2132b71f78d2 ("net/mlx5e: Advertise globaly supported FEC modes") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Aya Levin <ayal@nvidia.com>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions