OSDN Git Service

can: netlink: fix documentation typos
authorAndre Hartmann <aha_1980@gmx.de>
Sat, 23 Mar 2019 15:04:19 +0000 (16:04 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 15:32:21 +0000 (17:32 +0200)
This patch fixes some documentation typos in struct can_bittiming_const.

Signed-off-by: Andre Hartmann <aha_1980@gmx.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
include/uapi/linux/can/netlink.h

index 9f56fad..1bc70d3 100644 (file)
@@ -40,15 +40,15 @@ struct can_bittiming {
 };
 
 /*
- * CAN harware-dependent bit-timing constant
+ * CAN hardware-dependent bit-timing constant
  *
  * Used for calculating and checking bit-timing parameters
  */
 struct can_bittiming_const {
        char name[16];          /* Name of the CAN controller hardware */
-       __u32 tseg1_min;        /* Time segement 1 = prop_seg + phase_seg1 */
+       __u32 tseg1_min;        /* Time segment 1 = prop_seg + phase_seg1 */
        __u32 tseg1_max;
-       __u32 tseg2_min;        /* Time segement 2 = phase_seg2 */
+       __u32 tseg2_min;        /* Time segment 2 = phase_seg2 */
        __u32 tseg2_max;
        __u32 sjw_max;          /* Synchronisation jump width */
        __u32 brp_min;          /* Bit-rate prescaler */