Skip to contentSkip to conversation

rcuref: Fix the rcuread_is_dead reference in rcuref_read() kernel-doc

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 11 – Sep 14 RCU

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rcuref: Fix the rcuread_is_dead reference in rcuref_read() kernel-doc

The kernel-doc comment of rcuref_read() refers to rcuread_is_dead, which does not exist. The name is rcuref_is_dead. Say rcuref_is_dead.

Fixes 3efa66ce6ee1 ("rcuref: Provide rcuref_is_dead()")
Assisted-by LLM
---
 include/linux/rcuref.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/rcuref.h +1 -1
index 2fb2af6d982497d346c821863aa366c9082526bc..01fee161b67c3ec9fbda6c3ffceab127a2721da7 100644
@@ -34,7 +34,7 @@ static inline void rcuref_init(rcuref_t *ref, unsigned int cnt)
  * indicate that it is safe to schedule the object, protected by this reference
  * counter, for deconstruction.
  * If you want to know if the reference counter has been marked DEAD (as
- * signaled by rcuref_put()) please use rcuread_is_dead().
+ * signaled by rcuref_put()) please use rcuref_is_dead().
  */
 static inline unsigned int rcuref_read(rcuref_t *ref)
 {
maintainer Applied
#2 lore raw
Quoted 11 lines · Sebastian Andrzej Siewior
Quoted 6 lines · Karl Mehltretter

The kernel-doc comment of rcuref_read() refers to rcuread_is_dead, which does not exist. The name is rcuref_is_dead. Say rcuref_is_dead.

Fixes 3efa66ce6ee1 ("rcuref: Provide rcuref_is_dead()")
Assisted-by LLM

Sebastian

Queued, thank you both!

Thanx, Paul