Dan Carpenter 690ad62fc6 net/mlx5: Fix error code in mlx5_is_reset_now_capable()
The mlx5_is_reset_now_capable() function returns bool, not negative
error codes.  So if fast teardown is not supported it should return
false instead of -EOPNOTSUPP.

Fixes: 92501fa6e421 ("net/mlx5: Ack on sync_reset_request only if PF can do reset_now")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2023-06-23 12:27:33 -07:00
..
2023-06-21 10:25:43 -07:00
2023-04-27 16:36:55 -07:00
2023-05-02 10:41:31 -07:00
2023-04-27 11:53:57 -07:00
2023-04-27 12:07:50 -07:00
2023-06-06 04:36:02 -07:00
2023-04-05 19:41:10 +02:00
2023-04-27 10:09:05 -07:00
2023-06-07 13:49:42 -07:00
2023-04-27 16:36:55 -07:00
2023-05-05 19:12:01 -07:00
2023-04-28 16:24:32 -07:00
2023-06-20 17:20:22 -07:00
2023-04-25 12:02:16 -07:00
2023-04-28 14:02:54 -07:00
2023-05-02 10:41:31 -07:00
2023-03-20 15:39:14 +01:00
2023-04-27 16:36:55 -07:00
2023-04-27 10:09:05 -07:00
2023-06-19 17:05:43 -07:00
2023-05-03 11:25:01 -07:00
2023-04-27 11:53:57 -07:00
2023-05-02 10:41:31 -07:00
2023-04-27 11:53:57 -07:00
2023-06-10 13:01:09 -07:00
2023-06-17 11:04:10 -07:00
2023-05-16 21:07:26 -04:00
2023-04-27 10:09:05 -07:00
2023-04-27 12:07:50 -07:00
2023-05-04 18:33:56 -07:00
2023-05-27 09:42:56 -07:00
2023-03-29 12:26:32 +02:00
2023-03-29 12:26:32 +02:00