All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] lockdep: doc: fix function documentation
@ 2022-04-09  7:52 Schspa Shi
  0 siblings, 0 replies; only message in thread
From: Schspa Shi @ 2022-04-09  7:52 UTC (permalink / raw)
  To: peterz, mingo, will, longman, boqun.feng; +Cc: schspa, linux-kernel

Correct the struct description to correct position in the comment.

Signed-off-by: Schspa Shi <schspa@gmail.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)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-09  7:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-09  7:52 [PATCH] lockdep: doc: fix function documentation Schspa Shi

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.