From: Uladzislau Rezki (Sony) Date: Wed, 1 Dec 2021 09:20:53 +0000 (+0100) Subject: rcu: Fix description of kvfree_rcu() X-Git-Tag: v5.18-rc1~207^2^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=150154aae4311e7e6458903baecdc8fffe981ed3;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Uladzislau Rezki (Sony) Signed-off-by: Paul E. McKenney --- diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 88b42eb464068..9d7df8d36af07 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -924,7 +924,7 @@ static inline notrace void rcu_read_unlock_sched_notrace(void) * * kvfree_rcu(ptr); * - * where @ptr is a pointer to kvfree(). + * where @ptr is the pointer to be freed by kvfree(). * * Please note, head-less way of freeing is permitted to * use from a context that has to follow might_sleep()