From: Paul E. McKenney Date: Sat, 16 Apr 2005 22:25:51 +0000 (-0700) Subject: [PATCH] Fix comment in list.h that refers to nonexistent API X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1ba0dab261c1941fdf0db28868eaf459aaea089;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [PATCH] Fix comment in list.h that refers to nonexistent API The hlist_for_each_entry_rcu() comment block refers to a nonexistent hlist_add_rcu() API, needs to change to hlist_add_head_rcu(). Signed-off-by: Paul E. McKenney Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/list.h b/include/linux/list.h index dd7cd54fa831..399b51d17218 100644 --- a/include/linux/list.h +++ b/include/linux/list.h @@ -692,7 +692,7 @@ static inline void hlist_add_after(struct hlist_node *n, * @member: the name of the hlist_node within the struct. * * This list-traversal primitive may safely run concurrently with - * the _rcu list-mutation primitives such as hlist_add_rcu() + * the _rcu list-mutation primitives such as hlist_add_head_rcu() * as long as the traversal is guarded by rcu_read_lock(). */ #define hlist_for_each_entry_rcu(tpos, pos, head, member) \