aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorSaeed Mahameed <[email protected]>2020-09-11 11:00:06 -0700
committerSaeed Mahameed <[email protected]>2020-09-21 17:22:25 -0700
commitcb39ccc5cbe1011d8d21886b75e2468070ac672c (patch)
tree1daa8dc532ed638dbfb86eb366b69b1665a7aff0 /lib/mpi/mpiutil.c
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 <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Reviewed-by: Moshe Shemesh <[email protected]> Reviewed-by: Aya Levin <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions