Skip to contentSkip to conversation

can: fix typos

PATCH New Marc Kleine-Budde 1 participant 3 messages Jan 27, 2021

Subsystems (2)
lore
Share & tools
lore

Marc Kleine-Budde

author maintainer
#0 lore raw

PATCH 1/2 can: fix typos

Hello,

this series fixes typos found by typespell.

regards,
Marc

author maintainer
#1 lore raw

PATCH 1/2 can: flexcan: fix typos

This patch fixes two typos found by codespell.

Fixes 812f0116c66a ("can: flexcan: add CAN wakeup function for i.MX8QM")
---
 drivers/net/can/flexcan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/can/flexcan.c +2 -2
index 5d9157c655e9..971ada36e37f 100644
@@ -1975,14 +1975,14 @@ static int flexcan_setup_stop_mode_scfw(struct platform_device *pdev)
 	priv = netdev_priv(dev);
 	priv->scu_idx = scu_idx;
 
-	/* this function could be defered probe, return -EPROBE_DEFER */
+	/* this function could be deferred probe, return -EPROBE_DEFER */
 	return imx_scu_get_handle(&priv->sc_ipc_handle);
 }
 
 /* flexcan_setup_stop_mode - Setup stop mode for wakeup
  *
  * Return: = 0 setup stop mode successfully or doesn't support this feature
- *         < 0 fail to setup stop mode (could be defered probe)
+ *         < 0 fail to setup stop mode (could be deferred probe)
  */
 static int flexcan_setup_stop_mode(struct platform_device *pdev)
 {
Signature · 1 line
2.29.2
author maintainer
#2 lore raw

PATCH 2/2 can: gw: fix typo

In reply to Marc Kleine-Budde

This patch fixes a typo found by codespell.

Fixes 94c23097f991 ("can: gw: support modification of Classical CAN DLCs")
---
 net/can/gw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/can/gw.c +1 -1
index 8598d9da0e5f..ba4124805602 100644
@@ -225,7 +225,7 @@ static void mod_store_ccdlc(struct canfd_frame *cf)
 	if (ccf->len <= CAN_MAX_DLEN)
 		return;
 
-	/* potentially broken values are catched in can_can_gw_rcv() */
+	/* potentially broken values are caught in can_can_gw_rcv() */
 	if (ccf->len > CAN_MAX_RAW_DLC)
 		return;
 
Signature · 1 line
2.29.2