* Re: [PATCH] locking/atomic/bitops: Fix some wrong param names in comments
@ 2020-09-30 9:57 linmiaohe
0 siblings, 0 replies; 2+ messages in thread
From: linmiaohe @ 2020-09-30 9:57 UTC (permalink / raw)
To: arnd; +Cc: linux-arch, linux-kernel
Friendly ping :)
> Correct the wrong param name @addr to @p.
>
> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
> ---
> include/asm-generic/bitops/lock.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/include/asm-generic/bitops/lock.h b/include/asm-generic/bitops/lock.h
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] locking/atomic/bitops: Fix some wrong param names in comments
@ 2020-09-10 9:10 Miaohe Lin
0 siblings, 0 replies; 2+ messages in thread
From: Miaohe Lin @ 2020-09-10 9:10 UTC (permalink / raw)
To: arnd; +Cc: linux-arch, linux-kernel, linmiaohe
Correct the wrong param name @addr to @p.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
include/asm-generic/bitops/lock.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/asm-generic/bitops/lock.h b/include/asm-generic/bitops/lock.h
index 3ae021368f48..cdd4fde2dacc 100644
--- a/include/asm-generic/bitops/lock.h
+++ b/include/asm-generic/bitops/lock.h
@@ -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,
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-30 9:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-30 9:57 [PATCH] locking/atomic/bitops: Fix some wrong param names in comments linmiaohe
-- strict thread matches above, loose matches on Subject: below --
2020-09-10 9:10 Miaohe Lin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.