diff options
author | 2022-06-21 11:33:39 +0300 | |
---|---|---|
committer | 2022-06-22 12:56:58 +0100 | |
commit | 0100f840750ceac7c5774b4afca3b145d5631340 (patch) | |
tree | 0704febc6f5ec7c106a8a724f723084a6e8554ff /net/unix | |
parent | mlxsw: spectrum_switchdev: Convert mlxsw_sp_mc_write_mdb_entry() to return int (diff) | |
download | linux-dev-0100f840750ceac7c5774b4afca3b145d5631340.tar.xz linux-dev-0100f840750ceac7c5774b4afca3b145d5631340.zip |
mlxsw: spectrum_switchdev: Handle error in mlxsw_sp_bridge_mdb_mc_enable_sync()
The above mentioned function calls two functions which return values, but
it ignores them.
Check if the return value is an error, handle it in such case and return
an error back to the caller.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions