2021-04-15 11:32:14

by Colin King

[permalink] [raw]
Subject: [PATCH][next] 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.

Signed-off-by: Colin Ian King <[email protected]>
---
drivers/net/can/usb/etas_es58x/es58x_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/can/usb/etas_es58x/es58x_core.c b/drivers/net/can/usb/etas_es58x/es58x_core.c
index 57e5f94468e9..8e9102482c52 100644
--- a/drivers/net/can/usb/etas_es58x/es58x_core.c
+++ b/drivers/net/can/usb/etas_es58x/es58x_core.c
@@ -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)
--
2.30.2


2021-04-15 11:36:28

by Marc Kleine-Budde

[permalink] [raw]
Subject: Re: [PATCH][next] can: etas_es58x: Fix a couple of spelling mistakes

On 15.04.2021 12:30:50, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> There are spelling mistakes in netdev_dbg and netdev_dbg messages,
> fix these.
>
> Signed-off-by: Colin Ian King <[email protected]>

Applied to linux-can-next/testing.

Tnx,
Marc

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


Attachments:
(No filename) (569.00 B)
signature.asc (499.00 B)
Download all attachments