Commit 3f68785e614bf327d63395e03a3ebfd1d847331a
1 parent
e0d9677ea3
batman-adv: fix misspelled words
Reported-by: checkpatch Signed-off-by: Antonio Quartulli <antonio@meshcoding.com> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Showing 6 changed files with 8 additions and 8 deletions Side-by-side Diff
net/batman-adv/bridge_loop_avoidance.c
... | ... | @@ -244,7 +244,7 @@ |
244 | 244 | spin_unlock_bh(list_lock); |
245 | 245 | } |
246 | 246 | |
247 | - /* all claims gone, intialize CRC */ | |
247 | + /* all claims gone, initialize CRC */ | |
248 | 248 | backbone_gw->crc = BATADV_BLA_CRC_INIT; |
249 | 249 | } |
250 | 250 | |
... | ... | @@ -1328,7 +1328,7 @@ |
1328 | 1328 | goto out; |
1329 | 1329 | } |
1330 | 1330 | /* not found, add a new entry (overwrite the oldest entry) |
1331 | - * and allow it, its the first occurence. | |
1331 | + * and allow it, its the first occurrence. | |
1332 | 1332 | */ |
1333 | 1333 | curr = (bat_priv->bla.bcast_duplist_curr + BATADV_DUPLIST_SIZE - 1); |
1334 | 1334 | curr %= BATADV_DUPLIST_SIZE; |
net/batman-adv/main.c
... | ... | @@ -798,7 +798,7 @@ |
798 | 798 | } |
799 | 799 | |
800 | 800 | /** |
801 | - * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate | |
801 | + * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accommodate | |
802 | 802 | * requested packet size |
803 | 803 | * @packet_buff: packet buffer |
804 | 804 | * @packet_buff_len: packet buffer size |
net/batman-adv/packet.h
... | ... | @@ -377,7 +377,7 @@ |
377 | 377 | uint8_t reserved:4; |
378 | 378 | uint8_t no:4; |
379 | 379 | #else |
380 | -#error "unknown bitfield endianess" | |
380 | +#error "unknown bitfield endianness" | |
381 | 381 | #endif |
382 | 382 | uint8_t dest[ETH_ALEN]; |
383 | 383 | uint8_t orig[ETH_ALEN]; |
... | ... | @@ -453,7 +453,7 @@ |
453 | 453 | * @src: address of the source |
454 | 454 | * @dst: address of the destination |
455 | 455 | * @tvlv_len: length of tvlv data following the unicast tvlv header |
456 | - * @align: 2 bytes to align the header to a 4 byte boundry | |
456 | + * @align: 2 bytes to align the header to a 4 byte boundary | |
457 | 457 | */ |
458 | 458 | struct batadv_unicast_tvlv_packet { |
459 | 459 | uint8_t packet_type; |
net/batman-adv/routing.c
... | ... | @@ -456,7 +456,7 @@ |
456 | 456 | * the last chosen bonding candidate (next_candidate). If no such |
457 | 457 | * router is found, use the first candidate found (the previously |
458 | 458 | * chosen bonding candidate might have been the last one in the list). |
459 | - * If this can't be found either, return the previously choosen | |
459 | + * If this can't be found either, return the previously chosen | |
460 | 460 | * router - obviously there are no other candidates. |
461 | 461 | */ |
462 | 462 | rcu_read_lock(); |
net/batman-adv/translation-table.c
... | ... | @@ -2852,7 +2852,7 @@ |
2852 | 2852 | /** |
2853 | 2853 | * batadv_is_my_client - check if a client is served by the local node |
2854 | 2854 | * @bat_priv: the bat priv with all the soft interface information |
2855 | - * @addr: the mac adress of the client to check | |
2855 | + * @addr: the mac address of the client to check | |
2856 | 2856 | * @vid: VLAN identifier |
2857 | 2857 | * |
2858 | 2858 | * Returns true if the client is served by this node, false otherwise. |
net/batman-adv/types.h
... | ... | @@ -968,7 +968,7 @@ |
968 | 968 | }; |
969 | 969 | |
970 | 970 | /** |
971 | - * struct batadv_tt_change_node - structure for tt changes occured | |
971 | + * struct batadv_tt_change_node - structure for tt changes occurred | |
972 | 972 | * @list: list node for batadv_priv_tt::changes_list |
973 | 973 | * @change: holds the actual translation table diff data |
974 | 974 | */ |