net/mlx5: SF, Fix return type
authorRoi Dayan <roid@nvidia.com>
Wed, 3 Mar 2021 08:36:02 +0000 (10:36 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 11 Mar 2021 22:35:14 +0000 (14:35 -0800)
commit3094552bcd726682ded98e4f4aa97a7c6646f638
tree0cd5afadf26117bc4600638392cc6979eb5e235b
parent51ada5a52379e4dbf69cba70be6a348413f7a01f
net/mlx5: SF, Fix return type

Fix the following coccicheck warnings:

drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.h:50:8-9: WARNING:
return of 0/1 in function 'mlx5_sf_dev_allocated' with return type bool

Signed-off-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.h