]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bitops: use common function parameter names
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 3 May 2026 05:25:08 +0000 (22:25 -0700)
committerYury Norov <ynorov@nvidia.com>
Wed, 20 May 2026 15:18:27 +0000 (11:18 -0400)
commit8a51b2e874f47a6094353b59ecae421f0968fe3a
tree262760f6c6afd5573e28eca07d81223132ee0d4a
parentf149354ab7d06c172d4742ff677c896416fe9fbc
bitops: use common function parameter names

Fix the function prototypes to use the common parameter name 'addr'
instead of 'p' (common to arch-specific implementations of these
functions).
This avoids the kernel-doc warnings:

Warning: include/asm-generic/bitops/lock.h:19 function parameter 'p'
 not described in 'arch_test_and_set_bit_lock'
Warning: include/asm-generic/bitops/lock.h:41 function parameter 'p'
 not described in 'arch_clear_bit_unlock'
Warning: include/asm-generic/bitops/lock.h:59 function parameter 'p'
 not described in 'arch___clear_bit_unlock'

Fixes: 84c6591103db ("locking/atomics, asm-generic/bitops/lock.h: Rewrite using atomic_fetch_*()")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/asm-generic/bitops/lock.h