aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/fsl-dpaa2
diff options
context:
space:
mode:
authorIoana Radulescu <ruxandra.radulescu@nxp.com>2018-07-25 09:29:47 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-27 17:18:19 +0200
commitff5c37987b112d09352b16a28943c149ca90afb2 (patch)
treecb1a3d63128a844f4ee26818cf66f9696241da79 /drivers/staging/fsl-dpaa2
parentStaging: octeon-usb: Adding SPDX license identifier (diff)
downloadwireguard-linux-ff5c37987b112d09352b16a28943c149ca90afb2.tar.xz
wireguard-linux-ff5c37987b112d09352b16a28943c149ca90afb2.zip
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>
Diffstat (limited to 'drivers/staging/fsl-dpaa2')
-rw-r--r--drivers/staging/fsl-dpaa2/ethsw/ethsw.c2
1 files changed, 1 insertions, 1 deletions
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;