diff options
| author | Carlos Llamas <[email protected]> | 2024-05-15 13:37:10 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2024-06-05 15:52:34 +0200 |
| commit | f92a59f6d12e31ead999fee9585471b95a8ae8a3 (patch) | |
| tree | dffddd91cd2cb0c197c65e60967cfa11a24c9a6e /scripts/atomic/kerneldoc/sub_and_test | |
| parent | c3f38fa61af77b49866b006939479069cd451173 (diff) | |
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: ad8110706f38 ("locking/atomic: scripts: generate kerneldoc comments")
Suggested-by: Mark Rutland <[email protected]>
Signed-off-by: Carlos Llamas <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/atomic/kerneldoc/sub_and_test')
| -rw-r--r-- | scripts/atomic/kerneldoc/sub_and_test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/atomic/kerneldoc/sub_and_test b/scripts/atomic/kerneldoc/sub_and_test index d3760f7749d4..96615e50836b 100644 --- a/scripts/atomic/kerneldoc/sub_and_test +++ b/scripts/atomic/kerneldoc/sub_and_test @@ -1,7 +1,7 @@ cat <<EOF /** * ${class}${atomicname}() - atomic subtract and test if zero with ${desc_order} ordering - * @i: ${int} value to add + * @i: ${int} value to subtract * @v: pointer to ${atomic}_t * * Atomically updates @v to (@v - @i) with ${desc_order} ordering. |