linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] can: fix typos
@ 2021-01-27  8:55 Marc Kleine-Budde
  2021-01-27  8:55 ` [PATCH 1/2] can: flexcan: " Marc Kleine-Budde
  2021-01-27  8:55 ` [PATCH 2/2] can: gw: fix typo Marc Kleine-Budde
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2021-01-27  8:55 UTC (permalink / raw)
  To: kernel, linux-can

Hello,

this series fixes typos found by typespell.

regards,
Marc




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] can: flexcan: fix typos
  2021-01-27  8:55 [PATCH 1/2] can: fix typos Marc Kleine-Budde
@ 2021-01-27  8:55 ` Marc Kleine-Budde
  2021-01-27  8:55 ` [PATCH 2/2] can: gw: fix typo Marc Kleine-Budde
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2021-01-27  8:55 UTC (permalink / raw)
  To: kernel, linux-can; +Cc: Marc Kleine-Budde

This patch fixes two typos found by codespell.

Fixes: 812f0116c66a ("can: flexcan: add CAN wakeup function for i.MX8QM")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 drivers/net/can/flexcan.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c
index 5d9157c655e9..971ada36e37f 100644
--- a/drivers/net/can/flexcan.c
+++ b/drivers/net/can/flexcan.c
@@ -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)
 {
-- 
2.29.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] can: gw: fix typo
  2021-01-27  8:55 [PATCH 1/2] can: fix typos Marc Kleine-Budde
  2021-01-27  8:55 ` [PATCH 1/2] can: flexcan: " Marc Kleine-Budde
@ 2021-01-27  8:55 ` Marc Kleine-Budde
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2021-01-27  8:55 UTC (permalink / raw)
  To: kernel, linux-can; +Cc: Marc Kleine-Budde

This patch fixes a typo found by codespell.

Fixes: 94c23097f991 ("can: gw: support modification of Classical CAN DLCs")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 net/can/gw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/can/gw.c b/net/can/gw.c
index 8598d9da0e5f..ba4124805602 100644
--- a/net/can/gw.c
+++ b/net/can/gw.c
@@ -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;
 
-- 
2.29.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-27  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27  8:55 [PATCH 1/2] can: fix typos Marc Kleine-Budde
2021-01-27  8:55 ` [PATCH 1/2] can: flexcan: " Marc Kleine-Budde
2021-01-27  8:55 ` [PATCH 2/2] can: gw: fix typo Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).