staging: fsl-dpaa2/ethsw: Fix error message
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Wed, 25 Jul 2018 14:29:47 +0000 (09:29 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jul 2018 15:18:19 +0000 (17:18 +0200)
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>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c

index 0d54564e4f382aa08df11d5a9a3e2bd1b8c2aa5c..ecdd3d84f95668cd66dc1cc7b0519ad1d5dda24b 100644 (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;