can: gw: fix typo
authorMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 27 Jan 2021 08:13:03 +0000 (09:13 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 27 Jan 2021 09:01:46 +0000 (10:01 +0100)
This patch fixes a typo found by codespell.

Fixes: 94c23097f991 ("can: gw: support modification of Classical CAN DLCs")
Link: https://lore.kernel.org/r/20210127085529.2768537-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/gw.c

index 8598d9da0e5fc4bf7ecc50cd5e397919066e2826..ba4124805602972bcbef0b0fa2e1b352aa345497 100644 (file)
@@ -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;