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]
Date:   Sat,  9 Apr 2022 15:52:45 +0800
From:   Schspa Shi <schspa@...il.com>
To:     peterz@...radead.org, mingo@...hat.com, will@...nel.org,
        longman@...hat.com, boqun.feng@...il.com
Cc:     schspa@...il.com, linux-kernel@...r.kernel.org
Subject: [PATCH] lockdep: doc: fix function documentation

Correct the struct description to correct position in the comment.

Signed-off-by: Schspa Shi <schspa@...il.com>
---
 kernel/locking/lockdep.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index c06cab6546ed..f4782564d710 100644
--- a/kernel/locking/lockdep.c
+++ b/kernel/locking/lockdep.c
@@ -353,13 +353,13 @@ struct pending_free {
 /**
  * struct delayed_free - data structures used for delayed freeing
  *
- * A data structure for delayed freeing of data structures that may be
- * accessed by RCU readers at the time these were freed.
- *
  * @rcu_head:  Used to schedule an RCU callback for freeing data structures.
  * @index:     Index of @pf to which freed data structures are added.
  * @scheduled: Whether or not an RCU callback has been scheduled.
  * @pf:        Array with information about data structures about to be freed.
+ *
+ * A data structure for delayed freeing of data structures that may be
+ * accessed by RCU readers at the time these were freed.
  */
 static struct delayed_free {
 	struct rcu_head		rcu_head;
@@ -1666,6 +1666,7 @@ static inline struct lock_list *__bfs_next(struct lock_list *lock, int offset)
  * @source_entry: the source of the path we are searching for.
  * @data: data used for the second parameter of @match function
  * @match: match function for the search
+ * @skip: skip function for the search
  * @target_entry: pointer to the target of a matched path
  * @offset: the offset to struct lock_class to determine whether it is
  *          locks_after or locks_before
-- 
2.24.3 (Apple Git-128)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ