Re: [PATCH] rculist.h: docu: fix wrong function name

2023-09-20 Thread Philipp Stanner
On Wed, 2023-09-20 at 03:53 -0700, Paul E. McKenney wrote: > On Tue, Sep 19, 2023 at 09:47:55PM +0200, Philipp Stanner wrote: > > The header contains a comment that details why the functions > > list_empty_rcu() and list_first_entry_rcu() don't exist. It > > explains

[PATCH] rculist.h: docu: fix wrong function summary

2023-09-20 Thread Philipp Stanner
The brief summary in the docstring for function list_next_or_null_rcu() states that the function is supposed to provide the "first" member of a list, whereas in truth it returns the next member. Change the docstring so it describes what the function actually does. Signed-off-by: Phili

[PATCH] rculist.h: docu: fix wrong function name

2023-09-19 Thread Philipp Stanner
t_first_or_null_rcu to be congruent with that entire comment's style. Signed-off-by: Philipp Stanner --- Hi! I hope this helps. I wasn't 100.00% sure if that's correct, but I thought asking is for free 8-) Regards, P. --- include/linux/rculist.h | 4 ++-- 1 file changed, 2 insertions(