diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2023-10-05 17:00:12 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-08 13:51:39 +0100 |
commit | 1e0b72a2a6432c0ef67ee5ce8d9172a7c20bba25 (patch) | |
tree | b1a09dc11a6fb1bca564166ce7e5e75a0da44510 /drivers/net/xen-netback | |
parent | a2e52554c710b388df2d9d95b51cc1059af2aa22 (diff) | |
download | linux-stable-1e0b72a2a6432c0ef67ee5ce8d9172a7c20bba25.tar.gz linux-stable-1e0b72a2a6432c0ef67ee5ce8d9172a7c20bba25.tar.bz2 linux-stable-1e0b72a2a6432c0ef67ee5ce8d9172a7c20bba25.zip |
mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
The mlxsw_sp2_nve_vxlan_learning_set() function is supposed to return
zero on success or negative error codes. So it needs to be type int
instead of bool.
Fixes: 4ee70efab68d ("mlxsw: spectrum_nve: Add support for VXLAN on Spectrum-2")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback')
0 files changed, 0 insertions, 0 deletions