Skip to contentSkip to conversation

can: etas_es58x: Fix a couple of spelling mistakes

PATCH In review Colin King 2 participants 2 messages Apr 15, 2021

Subsystems (5)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 can: etas_es58x: Fix a couple of spelling mistakes

From: Colin Ian King <[email protected]>

There are spelling mistakes in netdev_dbg and netdev_dbg messages, fix these.

---
 drivers/net/can/usb/etas_es58x/es58x_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/can/usb/etas_es58x/es58x_core.c +2 -2
index 57e5f94468e9..8e9102482c52 100644
@@ -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)
Signature · 1 line
2.30.2
#1 lore raw
Quoted 6 lines · Colin King

From: Colin Ian King <[email protected]>

There are spelling mistakes in netdev_dbg and netdev_dbg messages, fix these.

Applied to linux-can-next/testing.

Tnx,
Marc

Signature · 4 lines
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |