rculist.h: docs: Fix wrong function summary
authorPhilipp Stanner <pstanner@redhat.com>
Wed, 20 Sep 2023 09:22:12 +0000 (11:22 +0200)
committerNeeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com>
Wed, 13 Dec 2023 19:44:10 +0000 (01:14 +0530)
commit493dffa3ab07b5d2c0b7bd5de5bff6e85f01f52a
treeac25813b86921b91dd56b9f34eb4fdfb620e6953
parentfb91e42fe3bfca0293cb85c5fbb6f98d9d173aec
rculist.h: docs: Fix wrong function summary

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: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.iitr10@gmail.com>
include/linux/rculist.h