aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-06-20 13:43:07 +0000
committerSaeed Mahameed <[email protected]>2023-06-23 19:27:33 +0000
commit690ad62fc6e445cc371e625fe2016e62c3793a0f (patch)
tree4e2d589d8b03b9002c733aed71c265d1c633b8d1 /net/unix/af_unix.c
parentnet/mlx5: Fix reserved at offset in hca_cap register (diff)
downloadkernel-690ad62fc6e445cc371e625fe2016e62c3793a0f.tar.gz
kernel-690ad62fc6e445cc371e625fe2016e62c3793a0f.zip
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 <[email protected]> Reviewed-by: Kalesh AP <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions