staging: fsl-dpaa2/ethsw: Fix error message

Error message was referencing wrong function, fix it.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ioana Radulescu 2018-07-25 09:29:47 -05:00 committed by Greg Kroah-Hartman
parent 4e336dff0d
commit ff5c37987b

View file

@ -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;