Skip to contentSkip to conversation

batman-adv: fix typ0 in kerneldoc and comment

PATCH Applied Antonio Quartulli 2 participants 2 messages May 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 batman-adv: fix typ0 in kerneldoc and comment

Introduced by 9b9cdbe28e2b9c8bdf9c761f22ba9655963d13d4 ("batman-adv: fix removing neigh_ifinfo")

---
 originator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
originator.c +2 -2
index 9ebc40e..abf612d 100644
@@ -704,7 +704,7 @@ free_orig_node:
 /**
  * batadv_purge_neigh_ifinfo - purge obsolete ifinfo entries from neighbor
  * @bat_priv: the bat priv with all the soft interface information
- * @neigh_node: orig node which is to be checked
+ * @neigh: orig node which is to be checked
  */
 static void
 batadv_purge_neigh_ifinfo(struct batadv_priv *bat_priv,
@@ -842,7 +842,7 @@ batadv_purge_orig_neighbors(struct batadv_priv *bat_priv,
 			hlist_del_rcu(&neigh_node->list);
 			batadv_neigh_node_free_ref(neigh_node);
 		} else {
-			/* only neccesary if not the whole neighbor is to be
+			/* only necessary if not the whole neighbor is to be
 			 * deleted, but some interface has been removed.
 			 */
 			batadv_purge_neigh_ifinfo(bat_priv, neigh_node);
Signature · 1 line
1.8.5.5