hashtable: fix some kernel-doc comments

Message ID 20221110065441.87299-1-shaozhengchao@huawei.com
State New
Headers
Series hashtable: fix some kernel-doc comments |

Commit Message

shaozhengchao Nov. 10, 2022, 6:54 a.m. UTC
  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@huawei.com>
---
 include/linux/hashtable.h | 1 +
 1 file changed, 1 insertion(+)
  

Patch

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))],\