From: Ioana Radulescu Date: Wed, 25 Jul 2018 14:29:47 +0000 (-0500) Subject: staging: fsl-dpaa2/ethsw: Fix error message X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ff5c37987b112d09352b16a28943c149ca90afb2;p=openwrt%2Fstaging%2Fblogic.git staging: fsl-dpaa2/ethsw: Fix error message Error message was referencing wrong function, fix it. Signed-off-by: Ioana Radulescu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c index 0d54564e4f38..ecdd3d84f956 100644 --- a/drivers/staging/fsl-dpaa2/ethsw/ethsw.c +++ b/drivers/staging/fsl-dpaa2/ethsw/ethsw.c @@ -179,7 +179,7 @@ static int ethsw_port_set_flood(struct ethsw_port_priv *port_priv, u8 flag) port_priv->idx, flag); if (err) { netdev_err(port_priv->netdev, - "dpsw_fdb_set_learning_mode err %d\n", err); + "dpsw_if_set_flooding err %d\n", err); return err; } port_priv->flood = !!flag;