]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Propagate extack to bridge creation function
authorIdo Schimmel <idosch@mellanox.com>
Mon, 17 Feb 2020 14:29:32 +0000 (16:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 22:42:53 +0000 (14:42 -0800)
commit5942a521151f8870d03e8bd380bfbaa7ea1be06d
tree5bcd071ccf8c1ab52ec3fd15582b55eb8294aba4
parent0934d816522e3fb8f151cec11b6efc65fa1c83b5
mlxsw: spectrum_switchdev: Propagate extack to bridge creation function

Propagate extack to bridge creation function so that error messages
could be passed to user space via netlink instead of printing them to
kernel log.

A subsequent patch will pass the new extack argument to more functions.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c