can: include: fix spelling mistakes
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 15 Sep 2020 22:34:53 +0000 (00:34 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 21 Sep 2020 08:13:15 +0000 (10:13 +0200)
This patch fixes spelling erros found by "codespell" in the
include/linux/can subtree.

Link: https://lore.kernel.org/r/20200915223527.1417033-4-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/linux/can/core.h
include/linux/can/dev.h

index e20a0cd..7da9f1f 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * linux/can/core.h
  *
- * Protoypes and definitions for CAN protocol modules using the PF_CAN core
+ * Prototypes and definitions for CAN protocol modules using the PF_CAN core
  *
  * Authors: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
  *          Urs Thuermann   <urs.thuermann@volkswagen.de>
index 5e3d455..5168925 100644 (file)
@@ -108,7 +108,7 @@ static inline bool can_skb_headroom_valid(struct net_device *dev,
 
                skb->ip_summed = CHECKSUM_UNNECESSARY;
 
-               /* preform proper loopback on capable devices */
+               /* perform proper loopback on capable devices */
                if (dev->flags & IFF_ECHO)
                        skb->pkt_type = PACKET_LOOPBACK;
                else