Merge tag 'qcom-drivers-for-6.9-2' of https://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / scripts / atomic / kerneldoc / add_unless
1 if [ -z "${pfx}" ]; then
2         desc_return="Return: @true if @v was updated, @false otherwise."
3 fi
4
5 cat <<EOF
6 /**
7  * ${class}${atomicname}() - atomic add unless value with ${desc_order} ordering
8  * @v: pointer to ${atomic}_t
9  * @a: ${int} value to add
10  * @u: ${int} value to compare with
11  *
12  * If (@v != @u), atomically updates @v to (@v + @a) with ${desc_order} ordering.
13  *
14  * ${desc_noinstr}
15  *
16  * ${desc_return}
17  */
18 EOF