]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
locking/rtmutex: Use the 'struct' keyword in kernel-doc comment
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 7 Mar 2025 23:26:51 +0000 (15:26 -0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 7 Mar 2025 23:52:01 +0000 (00:52 +0100)
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>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Waiman Long <longman@redhat.com>
Link: https://lore.kernel.org/r/20250307232717.1759087-2-boqun.feng@gmail.com
kernel/locking/rtmutex_common.h

index c38a2d2d4a7eefb9c28a1bb3e74c3fd7345ede22..78dd3d8c65544e2c29d4a6a7d3e59fe7d735e803 100644 (file)
@@ -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
  */