]> git.baikalelectronics.ru Git - kernel.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)
commit5603eaed600b58482c777c0ab2ba3793036b4606
tree8a22aab8ea77d4b8795f003b036ada35e4047537
parent7d06c1a294c8802afd968de58612d142142a99f0
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