locking/atomic/bitops: Fix some wrong param names in comments
Subsystems (2)
PATCH 1/1 locking/atomic/bitops: Fix some wrong param names in comments
Correct the wrong param name @addr to @p.
Signed-off-by Miaohe Lin <[email protected]>
--- include/asm-generic/bitops/lock.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
include/asm-generic/bitops/lock.h +4 -4
@@ -9,7 +9,7 @@/** * test_and_set_bit_lock - Set a bit and return its old value, for lock * @nr: Bit to set -* @addr: Address to count from +* @p: Address to count from * * This operation is atomic and provides acquire barrier semantics if * the returned value is 0.
@@ -33,7 +33,7 @@ static inline int test_and_set_bit_lock(unsigned int nr,/** * clear_bit_unlock - Clear a bit in memory, for unlock * @nr: the bit to set -* @addr: the address to start counting from +* @p: the address to start counting from * * This operation is atomic and provides release barrier semantics. */
@@ -46,7 +46,7 @@ static inline void clear_bit_unlock(unsigned int nr, volatile unsigned long *p)/** * __clear_bit_unlock - Clear a bit in memory, for unlock * @nr: the bit to set -* @addr: the address to start counting from +* @p: the address to start counting from * * A weaker form of clear_bit_unlock() as used by __bit_lock_unlock(). If all * the bits in the word are protected by this lock some archs can use weaker
@@ -69,7 +69,7 @@ static inline void __clear_bit_unlock(unsigned int nr,* clear_bit_unlock_is_negative_byte - Clear a bit in memory and test if bottom * byte is negative, for unlock. * @nr: the bit to clear -* @addr: the address to start counting from +* @p: the address to start counting from * * This is a bit of a one-trick-pony for the filemap code, which clears * PG_locked and tests PG_waiters,
Signature · 1 line
2.19.1