locking/rtmutex: Use struct keyword in kernel-doc comment
PATCH 1/1 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 <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Will Deacon <[email protected]>
Cc Waiman Long <[email protected]>
Cc Boqun Feng <[email protected]>
--- kernel/locking/rtmutex_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/locking/rtmutex_common.h +2 -2
@@ -59,8 +59,8 @@ struct rt_mutex_waiter { };/** -* rt_wake_q_head - Wrapper around regular wake_q_head to support -* "sleeping" spinlocks on RT +* struct rt_wake_q_head - Wrapper around regular wake_q_head to support +* "sleeping" spinlocks on RT * @head: The regular wake_q_head for sleeping lock variants * @rtlock_task: Task pointer for RT lock (spin/rwlock) wakeups */
Quoted 18 lines · Randy Dunlap
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]>Cc Peter Zijlstra <[email protected]>Cc Ingo Molnar <[email protected]>Cc Will Deacon <[email protected]>Cc Waiman Long <[email protected]>Cc Boqun Feng <[email protected]>--- kernel/locking/rtmutex_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/locking/rtmutex_common.h struct rt_mutex_waiter { · line 66
Quoted 10 lines
kernel/locking/rtmutex_common.h +2
-2@@ -59,8 +59,8 @@ struct rt_mutex_waiter { };/** -* rt_wake_q_head - Wrapper around regular wake_q_head to support -* "sleeping" spinlocks on RT +* struct rt_wake_q_head - Wrapper around regular wake_q_head to support +* "sleeping" spinlocks on RT * @head: The regular wake_q_head for sleeping lock variants * @rtlock_task: Task pointer for RT lock (spin/rwlock) wakeups */
Acked-by Waiman Long <[email protected]>
The following commit has been merged into the locking/core branch of tip:
The following commit has been merged into the locking/core branch of tip:
Commit-ID: 5ddd09863c676935c18c8a13f5afb6d9992cbdeb Gitweb: https://git.kernel.org/tip/5ddd09863c676935c18c8a13f5afb6d9992cbdeb Author: Randy Dunlap <[email protected]> AuthorDate: Fri, 10 Jan 2025 22:30:40 -08:00 Committer: Boqun Feng <[email protected]> CommitterDate: Sun, 23 Feb 2025 18:24:46 -08:00
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 <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Will Deacon <[email protected]>
Cc Waiman Long <[email protected]>
Cc Boqun Feng <[email protected]>
Acked-by Waiman Long <[email protected]>
Signed-off-by Boqun Feng <[email protected]>
--- kernel/locking/rtmutex_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/locking/rtmutex_common.h +2 -2
@@ -59,8 +59,8 @@ struct rt_mutex_waiter { };/** -* rt_wake_q_head - Wrapper around regular wake_q_head to support -* "sleeping" spinlocks on RT +* struct rt_wake_q_head - Wrapper around regular wake_q_head to support +* "sleeping" spinlocks on RT * @head: The regular wake_q_head for sleeping lock variants * @rtlock_task: Task pointer for RT lock (spin/rwlock) wakeups */