lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20221110065441.87299-1-shaozhengchao@huawei.com>
Date:   Thu, 10 Nov 2022 14:54:41 +0800
From:   Zhengchao Shao <shaozhengchao@...wei.com>
To:     <linux-kernel@...r.kernel.org>
CC:     <weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
        <shaozhengchao@...wei.com>
Subject: [PATCH] hashtable: fix some kernel-doc comments

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@...wei.com>
---
 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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ