]> www.infradead.org Git - users/jedix/linux-maple.git/commit
locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc
authorCarlos Llamas <cmllamas@google.com>
Wed, 15 May 2024 13:37:10 +0000 (13:37 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 5 Jun 2024 13:52:34 +0000 (15:52 +0200)
commitf92a59f6d12e31ead999fee9585471b95a8ae8a3
treedffddd91cd2cb0c197c65e60967cfa11a24c9a6e
parentc3f38fa61af77b49866b006939479069cd451173
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 <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
include/linux/atomic/atomic-arch-fallback.h
include/linux/atomic/atomic-instrumented.h
include/linux/atomic/atomic-long.h
scripts/atomic/kerneldoc/sub_and_test