Skip to content

Commit b3c5ec8

Browse files
rddunlapIngo Molnar
authored and
Ingo Molnar
committed
locking/rtmutex: Use the '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 <[email protected]> Signed-off-by: Boqun Feng <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Waiman Long <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 966944f commit b3c5ec8

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)