All of lore.kernel.org
 help / color / mirror / Atom feed
* [Linux-kernel-mentees] [PATCH] Include: Linux: rculist_nulls: Add docbook comment headers
@ 2019-12-04 12:03 ` madhuparnabhowmik04
  0 siblings, 0 replies; 9+ messages in thread
From: madhuparnabhowmik04 @ 2019-12-04 12:03 UTC (permalink / raw)
  To: paulmck, joel; +Cc: rcu, linux-kernel-mentees, linux-kernel

From: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>

This patch adds docbook comment headers for hlist_nulls_first_rcu
and hlist_nulls_next_rcu in rculist_nulls.h.

Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik04@gmail.com>
---
 include/linux/rculist_nulls.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/linux/rculist_nulls.h b/include/linux/rculist_nulls.h
index 517a06f36c7a..d796ef18ec52 100644
--- a/include/linux/rculist_nulls.h
+++ b/include/linux/rculist_nulls.h
@@ -38,9 +38,17 @@ static inline void hlist_nulls_del_init_rcu(struct hlist_nulls_node *n)
 	}
 }
 
+/**
+ * hlist_nulls_first_rcu - returns the first element of the hash list.
+ * @head: the head for your list.
+ */
 #define hlist_nulls_first_rcu(head) \
 	(*((struct hlist_nulls_node __rcu __force **)&(head)->first))
 
+/**
+ * hlist_nulls_next_rcu - returns the element of the list next to @node.
+ * @node: Element of the list.
+ */
 #define hlist_nulls_next_rcu(node) \
 	(*((struct hlist_nulls_node __rcu __force **)&(node)->next))
 
-- 
2.17.1

_______________________________________________
Linux-kernel-mentees mailing list
Linux-kernel-mentees@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-12-05 14:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-04 12:03 [Linux-kernel-mentees] [PATCH] Include: Linux: rculist_nulls: Add docbook comment headers madhuparnabhowmik04
2019-12-04 12:03 ` madhuparnabhowmik04
2019-12-04 17:44 ` [Linux-kernel-mentees] " Joel Fernandes
2019-12-04 17:44   ` Joel Fernandes
2019-12-05  0:25 ` [Linux-kernel-mentees] " Paul E. McKenney
2019-12-05  0:25   ` Paul E. McKenney
2019-12-05  5:55   ` [Linux-kernel-mentees] " Madhuparna Bhowmik
2019-12-05 14:42     ` Paul E. McKenney
2019-12-05 14:42       ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.