mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-29 02:37:49 +08:00
Fix a typo in the kerneldoc comment template. This changes 'occured' to 'occurred' in generated documentation. Signed-off-by: oldzhu <oldrunner999@gmail.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260106040158.31461-1-oldrunner999@gmail.com
17 lines
501 B
Plaintext
17 lines
501 B
Plaintext
cat <<EOF
|
|
/**
|
|
* ${class}${atomicname}() - atomic compare and exchange with ${desc_order} ordering
|
|
* @v: pointer to ${atomic}_t
|
|
* @old: pointer to ${int} value to compare with
|
|
* @new: ${int} value to assign
|
|
*
|
|
* If (@v == @old), atomically updates @v to @new with ${desc_order} ordering.
|
|
* Otherwise, @v is not modified, @old is updated to the current value of @v,
|
|
* and relaxed ordering is provided.
|
|
*
|
|
* ${desc_noinstr}
|
|
*
|
|
* Return: @true if the exchange occurred, @false otherwise.
|
|
*/
|
|
EOF
|