]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
futex: add missing function parameter comments
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 4 Mar 2026 00:50:03 +0000 (16:50 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Sun, 8 Mar 2026 10:06:47 +0000 (11:06 +0100)
Correct or add the missing function parameter kernel-doc comments
to avoid warnings:

Warning: include/asm-generic/futex.h:38 function parameter 'op' not
 described in 'futex_atomic_op_inuser_local'
Warning: include/asm-generic/futex.h:38 function parameter 'oparg' not
 described in 'futex_atomic_op_inuser_local'
Warning: include/asm-generic/futex.h:38 function parameter 'oval' not
 described in 'futex_atomic_op_inuser_local'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260304005008.409858-1-rdunlap@infradead.org
include/asm-generic/futex.h

index 2a19215baae53aa1a6e23d01c5e714c3353c0968..fbbcfd801cd0af6b479f824652f26185e97e8263 100644 (file)
@@ -25,7 +25,9 @@
  *                       argument and comparison of the previous
  *                       futex value with another constant.
  *
- * @encoded_op:        encoded operation to execute
+ * @op:                operation to execute
+ * @oparg:     argument of the operation
+ * @oval:      previous value at @uaddr on successful return
  * @uaddr:     pointer to user space address
  *
  * Return: