[PATCH] hashtable: fix some kernel-doc comments

From: Zhengchao Shao
Date: Thu Nov 10 2022 - 01:47:51 EST


Since commit a8b7b2d0b3fc ("sched: sch_api: add missing rcu read lock to
silence the warning") has been merged, the macro hlist_for_each_entry_rcu
comments should be updated.

Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
---
include/linux/hashtable.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/hashtable.h b/include/linux/hashtable.h
index f6c666730b8c..8b50bb68428d 100644
--- a/include/linux/hashtable.h
+++ b/include/linux/hashtable.h
@@ -172,6 +172,7 @@ static inline void hash_del_rcu(struct hlist_node *node)
* @obj: the type * to use as a loop cursor for each entry
* @member: the name of the hlist_node within the struct
* @key: the key of the objects to iterate over
+ * @cond: optional lockdep expression if called from non-RCU protection.
*/
#define hash_for_each_possible_rcu(name, obj, member, key, cond...) \
hlist_for_each_entry_rcu(obj, &name[hash_min(key, HASH_BITS(name))],\
--
2.17.1