net: dpaa2-switch: use extack in dpaa2_switch_port_bridge_join
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 21 Jul 2021 16:23:57 +0000 (19:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2021 07:26:23 +0000 (00:26 -0700)
commit123338d7d41e7e900e506dbb3821db75a28948b9
treebcfba4c23d4987393da9b47b752fa052de37f04c
parentc2255ff47768c94a0ebc3968f007928bb47ea43b
net: dpaa2-switch: use extack in dpaa2_switch_port_bridge_join

We need to propagate the extack argument for
dpaa2_switch_port_bridge_join to use it in a future patch, and it looks
like there is already an error message there which is currently printed
to the console. Move it over netlink so it is properly transmitted to
user space.

Cc: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Acked-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c