linux/scripts/atomic/kerneldoc
Carlos Llamas f92a59f6d1 locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc
For ${atomic}_sub_and_test() the @i parameter is the value to subtract,
not add. Fix the typo in the kerneldoc template and generate the headers
with this update.

Fixes: ad8110706f ("locking/atomic: scripts: generate kerneldoc comments")
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20240515133844.3502360-1-cmllamas@google.com
2024-06-05 15:52:34 +02:00
..
add
add_negative
add_unless locking/atomic: scripts: Clarify ordering of conditional atomics 2024-02-20 09:55:09 +01:00
and
andnot
cmpxchg locking/atomic: scripts: Clarify ordering of conditional atomics 2024-02-20 09:55:09 +01:00
dec
dec_and_test
dec_if_positive locking/atomic: scripts: Clarify ordering of conditional atomics 2024-02-20 09:55:09 +01:00
dec_unless_positive locking/atomic: scripts: Clarify ordering of conditional atomics 2024-02-20 09:55:09 +01:00
inc
inc_and_test
inc_not_zero locking/atomic: scripts: Clarify ordering of conditional atomics 2024-02-20 09:55:09 +01:00
inc_unless_negative locking/atomic: scripts: Clarify ordering of conditional atomics 2024-02-20 09:55:09 +01:00
or
read
set
sub
sub_and_test locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc 2024-06-05 15:52:34 +02:00
try_cmpxchg locking/atomic: scripts: Clarify ordering of conditional atomics 2024-02-20 09:55:09 +01:00
xchg
xor