futex: add missing function parameter comments
Subsystems (2)
PATCH v2 1/1 futex: add missing function parameter comments
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'
---
v2: clarify descriptions (André)
include/asm-generic/futex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
include/asm-generic/futex.h +3 -1
@@ -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:
Em 03/03/2026 21:50, Randy Dunlap escreveu:
Quoted 11 lines
Correct or add the missing function parameter kernel-doc comments to avoid warnings:
Warning:
include/asm-generic/futex.h:38function parameter 'op' not
described in 'futex_atomic_op_inuser_local'
Warning:include/asm-generic/futex.h:38function parameter 'oparg' not
described in 'futex_atomic_op_inuser_local'
Warning:include/asm-generic/futex.h:38function parameter 'oval' not
described in 'futex_atomic_op_inuser_local'Signed-off-by Randy Dunlap <[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: 0da9ca4c08e709144a1bd2f765c14205960ac64d Gitweb: https://git.kernel.org/tip/0da9ca4c08e709144a1bd2f765c14205960ac64d Author: Randy Dunlap <[email protected]> AuthorDate: Tue, 03 Mar 2026 16:50:03 -08:00 Committer: Peter Zijlstra <[email protected]> CommitterDate: Sun, 08 Mar 2026 11:06:47 +01:00
futex: add missing function parameter comments
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'
--- include/asm-generic/futex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
include/asm-generic/futex.h +3 -1
@@ -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: