* [PATCH] rcuref: Fix the rcuread_is_dead reference in rcuref_read() kernel-doc
@ 2026-09-11 21:36 Karl Mehltretter
2026-09-14 7:19 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 3+ messages in thread
From: Karl Mehltretter @ 2026-09-11 21:36 UTC (permalink / raw)
To: Paul E. McKenney, Frederic Weisbecker, Neeraj Upadhyay,
Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang,
Peter Zijlstra (Intel),
Sebastian Andrzej Siewior
Cc: Karl Mehltretter, rcu, linux-kernel
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
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
include/linux/rcuref.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/rcuref.h b/include/linux/rcuref.h
index 2fb2af6d982497d346c821863aa366c9082526bc..01fee161b67c3ec9fbda6c3ffceab127a2721da7 100644
--- a/include/linux/rcuref.h
+++ b/include/linux/rcuref.h
@@ -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)
{
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] rcuref: Fix the rcuread_is_dead reference in rcuref_read() kernel-doc
2026-09-11 21:36 [PATCH] rcuref: Fix the rcuread_is_dead reference in rcuref_read() kernel-doc Karl Mehltretter
@ 2026-09-14 7:19 ` Sebastian Andrzej Siewior
2026-09-14 14:54 ` Paul E. McKenney
0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2026-09-14 7:19 UTC (permalink / raw)
To: Karl Mehltretter
Cc: Paul E. McKenney, Frederic Weisbecker, Neeraj Upadhyay,
Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang,
Peter Zijlstra (Intel),
rcu, linux-kernel
On 2026-09-11 23:36:43 [+0200], Karl Mehltretter wrote:
> 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
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] rcuref: Fix the rcuread_is_dead reference in rcuref_read() kernel-doc
2026-09-14 7:19 ` Sebastian Andrzej Siewior
@ 2026-09-14 14:54 ` Paul E. McKenney
0 siblings, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2026-09-14 14:54 UTC (permalink / raw)
To: Sebastian Andrzej Siewior
Cc: Karl Mehltretter, Frederic Weisbecker, Neeraj Upadhyay,
Joel Fernandes, Josh Triplett, Boqun Feng, Uladzislau Rezki,
Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Zqiang,
Peter Zijlstra (Intel),
rcu, linux-kernel
On Mon, Sep 14, 2026 at 09:19:21AM +0200, Sebastian Andrzej Siewior wrote:
> On 2026-09-11 23:36:43 [+0200], Karl Mehltretter wrote:
> > 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
> > Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
>
> Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
>
> Sebastian
Queued, thank you both!
Thanx, Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-14 14:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 21:36 [PATCH] rcuref: Fix the rcuread_is_dead reference in rcuref_read() kernel-doc Karl Mehltretter
2026-09-14 7:19 ` Sebastian Andrzej Siewior
2026-09-14 14:54 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®