]> asedeno.scripts.mit.edu Git - linux.git/commit
mlxsw: spectrum_router: Propagate extack to .fid_get()
authorPetr Machata <petrm@mellanox.com>
Mon, 25 Jun 2018 07:48:13 +0000 (10:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 09:05:21 +0000 (18:05 +0900)
commit5f15e257e1e2bd17830fdf32ac715ca4a29a504f
tree8a22aab8ea77d4b8795f003b036ada35e4047537
parentfb223502ec0889444965f602f57b1f45f9e9845e
mlxsw: spectrum_router: Propagate extack to .fid_get()

In the follow-up patch, mlxsw_sp_rif_vlan_fid_get() will be changed in a
way that could fail. Give that function a possibility to explain the
failure through extack.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c