]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
batman-adv: fix misspelled words
authorAntonio Quartulli <antonio@meshcoding.com>
Sun, 2 Nov 2014 10:29:56 +0000 (11:29 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Wed, 7 Jan 2015 16:21:57 +0000 (17:21 +0100)
Reported-by: checkpatch
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/bridge_loop_avoidance.c
net/batman-adv/main.c
net/batman-adv/packet.h
net/batman-adv/routing.c
net/batman-adv/translation-table.c
net/batman-adv/types.h

index 4fc6cab7ed461d383c76a4a245a236a92793ed57..ac4b96eccadeb2b055de46fcf48a7aa8b6da1350 100644 (file)
@@ -244,7 +244,7 @@ batadv_bla_del_backbone_claims(struct batadv_bla_backbone_gw *backbone_gw)
                spin_unlock_bh(list_lock);
        }
 
-       /* all claims gone, intialize CRC */
+       /* all claims gone, initialize CRC */
        backbone_gw->crc = BATADV_BLA_CRC_INIT;
 }
 
@@ -1328,7 +1328,7 @@ int batadv_bla_check_bcast_duplist(struct batadv_priv *bat_priv,
                goto out;
        }
        /* not found, add a new entry (overwrite the oldest entry)
-        * and allow it, its the first occurence.
+        * and allow it, its the first occurrence.
         */
        curr = (bat_priv->bla.bcast_duplist_curr + BATADV_DUPLIST_SIZE - 1);
        curr %= BATADV_DUPLIST_SIZE;
index 3bcd847a8f9fc41da56718774e75bef11663f13a..12fc77bef23faf0313a551ec268c836891171813 100644 (file)
@@ -798,7 +798,7 @@ void batadv_tvlv_container_register(struct batadv_priv *bat_priv,
 }
 
 /**
- * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accomodate
+ * batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accommodate
  *  requested packet size
  * @packet_buff: packet buffer
  * @packet_buff_len: packet buffer size
index facd1feddd4e38c26c2cc4f5a48b5199683fc86f..b81fbbf21a6393af841ababdb845ba6179d79ca1 100644 (file)
@@ -377,7 +377,7 @@ struct batadv_frag_packet {
        uint8_t reserved:4;
        uint8_t no:4;
 #else
-#error "unknown bitfield endianess"
+#error "unknown bitfield endianness"
 #endif
        uint8_t dest[ETH_ALEN];
        uint8_t orig[ETH_ALEN];
@@ -453,7 +453,7 @@ struct batadv_coded_packet {
  * @src: address of the source
  * @dst: address of the destination
  * @tvlv_len: length of tvlv data following the unicast tvlv header
- * @align: 2 bytes to align the header to a 4 byte boundry
+ * @align: 2 bytes to align the header to a 4 byte boundary
  */
 struct batadv_unicast_tvlv_packet {
        uint8_t  packet_type;
index 139d2f65728eb486a3c8d3dba2487ec38408a1c3..da83982bf974c5d84d8046b7b415b4f2f1b07cb9 100644 (file)
@@ -456,7 +456,7 @@ batadv_find_router(struct batadv_priv *bat_priv,
         * the last chosen bonding candidate (next_candidate). If no such
         * router is found, use the first candidate found (the previously
         * chosen bonding candidate might have been the last one in the list).
-        * If this can't be found either, return the previously choosen
+        * If this can't be found either, return the previously chosen
         * router - obviously there are no other candidates.
         */
        rcu_read_lock();
index 84e6f01b734f2f9cdd772802fd87d849f5ecf01c..07b263a437d1b2488d0e882696669593df23eb62 100644 (file)
@@ -2852,7 +2852,7 @@ static void batadv_tt_update_changes(struct batadv_priv *bat_priv,
 /**
  * batadv_is_my_client - check if a client is served by the local node
  * @bat_priv: the bat priv with all the soft interface information
- * @addr: the mac adress of the client to check
+ * @addr: the mac address of the client to check
  * @vid: VLAN identifier
  *
  * Returns true if the client is served by this node, false otherwise.
index 462a70c0db8fd6f1a577773e0d5d10de3cd92305..9398c3fb417472962ddb58b0344de56006006b85 100644 (file)
@@ -968,7 +968,7 @@ struct batadv_tt_orig_list_entry {
 };
 
 /**
- * struct batadv_tt_change_node - structure for tt changes occured
+ * struct batadv_tt_change_node - structure for tt changes occurred
  * @list: list node for batadv_priv_tt::changes_list
  * @change: holds the actual translation table diff data
  */