can: fix typos
Subsystems (2)
Marc Kleine-Budde
maintainerPATCH 1/2 can: fix typos
Hello,
this series fixes typos found by typespell.
regards,
Marc
Marc Kleine-Budde
maintainerPATCH 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")
Signed-off-by Marc Kleine-Budde <[email protected]>
--- drivers/net/can/flexcan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/can/flexcan.c +2 -2
@@ -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
Marc Kleine-Budde
maintainerPATCH 2/2 can: gw: fix typo
In reply to Marc Kleine-BuddeThis patch fixes a typo found by codespell.
Fixes 94c23097f991 ("can: gw: support modification of Classical CAN DLCs")
Signed-off-by Marc Kleine-Budde <[email protected]>
--- net/can/gw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/can/gw.c +1 -1
@@ -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