Skip to content

Commit 546dff8

Browse files
rddunlapfbq
authored andcommitted
locking/rtmutex: Use struct keyword in kernel-doc comment
Add the "struct" keyword to prevent a kernel-doc warning: rtmutex_common.h:67: warning: cannot understand function prototype: 'struct rt_wake_q_head ' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Will Deacon <will@kernel.org> Cc: Waiman Long <longman@redhat.com> Cc: Boqun Feng <boqun.feng@gmail.com> Acked-by: Waiman Long <longman@redhat.com> Signed-off-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lore.kernel.org/r/20250111063040.910763-1-rdunlap@infradead.org
1 parent a64dcfb commit 546dff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/locking/rtmutex_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ struct rt_mutex_waiter {
5959
};
6060

6161
/**
62-
* rt_wake_q_head - Wrapper around regular wake_q_head to support
63-
* "sleeping" spinlocks on RT
62+
* struct rt_wake_q_head - Wrapper around regular wake_q_head to support
63+
* "sleeping" spinlocks on RT
6464
* @head: The regular wake_q_head for sleeping lock variants
6565
* @rtlock_task: Task pointer for RT lock (spin/rwlock) wakeups
6666
*/

0 commit comments

Comments
 (0)