]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50351af93f7a7580308d7886fe319d1e398f01b1
treebcfba4c23d4987393da9b47b752fa052de37f04c
parentb8b0bfdb7cfdf3b080119de9801ec2aa6d054909
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