batman-adv: fix typ0 in kerneldoc and comment
Commit Message
Introduced by 9b9cdbe28e2b9c8bdf9c761f22ba9655963d13d4
("batman-adv: fix removing neigh_ifinfo")
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
---
originator.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Wednesday 14 May 2014 14:23:15 Antonio Quartulli wrote:
> Introduced by 9b9cdbe28e2b9c8bdf9c761f22ba9655963d13d4
> ("batman-adv: fix removing neigh_ifinfo")
>
> Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
> Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> ---
> originator.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied in revision 236e603.
Thanks,
Marek
@@ -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);