can: etas_es58x: Fix a couple of spelling mistakes
authorColin Ian King <colin.king@canonical.com>
Thu, 15 Apr 2021 11:30:50 +0000 (12:30 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 24 Apr 2021 12:36:50 +0000 (14:36 +0200)
There are spelling mistakes in netdev_dbg and netdev_dbg messages,
fix these.

Link: https://lore.kernel.org/r/20210415113050.1942333-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/etas_es58x/es58x_core.c

index 57e5f94..8e91024 100644 (file)
@@ -688,7 +688,7 @@ int es58x_rx_err_msg(struct net_device *netdev, enum es58x_err error,
 
        case ES58X_ERR_PROT_STUFF:
                if (net_ratelimit())
-                       netdev_dbg(netdev, "Error BITSUFF\n");
+                       netdev_dbg(netdev, "Error BITSTUFF\n");
                if (cf)
                        cf->data[2] |= CAN_ERR_PROT_STUFF;
                break;
@@ -1015,7 +1015,7 @@ int es58x_rx_cmd_ret_u32(struct net_device *netdev,
                        int ret;
 
                        netdev_warn(netdev,
-                                   "%s: channel is already opened, closing and re-openning it to reflect new configuration\n",
+                                   "%s: channel is already opened, closing and re-opening it to reflect new configuration\n",
                                    ret_desc);
                        ret = ops->disable_channel(es58x_priv(netdev));
                        if (ret)