Skip to content

Commit 150154a

Browse files
urezkipaulmckrcu
authored andcommitted
rcu: Fix description of kvfree_rcu()
The kvfree_rcu() header comment's description of the "ptr" parameter is unclear, therefore rephrase it to make it clear that it is a pointer to the memory to eventually be passed to kvfree(). Reported-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
1 parent bd265aa commit 150154a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/rcupdate.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ static inline notrace void rcu_read_unlock_sched_notrace(void)
924924
*
925925
* kvfree_rcu(ptr);
926926
*
927-
* where @ptr is a pointer to kvfree().
927+
* where @ptr is the pointer to be freed by kvfree().
928928
*
929929
* Please note, head-less way of freeing is permitted to
930930
* use from a context that has to follow might_sleep()

0 commit comments

Comments
 (0)