}
 
 static int dpaa2_switch_port_bridge_join(struct net_device *netdev,
-                                        struct net_device *upper_dev)
+                                        struct net_device *upper_dev,
+                                        struct netlink_ext_ack *extack)
 {
        struct ethsw_port_priv *port_priv = netdev_priv(netdev);
        struct ethsw_core *ethsw = port_priv->ethsw_data;
 
                other_port_priv = netdev_priv(other_dev);
                if (other_port_priv->ethsw_data != port_priv->ethsw_data) {
-                       netdev_err(netdev,
-                                  "Interface from a different DPSW is in the bridge already!\n");
+                       NL_SET_ERR_MSG_MOD(extack,
+                                          "Interface from a different DPSW is in the bridge already");
                        return -EINVAL;
                }
        }
                upper_dev = info->upper_dev;
                if (netif_is_bridge_master(upper_dev)) {
                        if (info->linking)
-                               err = dpaa2_switch_port_bridge_join(netdev, upper_dev);
+                               err = dpaa2_switch_port_bridge_join(netdev,
+                                                                   upper_dev,
+                                                                   extack);
                        else
                                err = dpaa2_switch_port_bridge_leave(netdev);
                }