Skip to contentSkip to conversation

rcu: Fix description of kvfree_rcu()

PATCH Superseded Uladzislau Rezki (Sony) 1 participant 1 message Nov 26, 2021 RCU

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Uladzislau Rezki (Sony)

author maintainer
#0 lore raw

PATCH 1/1 rcu: Fix description of kvfree_rcu()

The passed "ptr" parameter might be wrongly interpreted therefore rephrase it to prevent people from being confused.

---
 include/linux/rcupdate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/rcupdate.h +1 -1
index 88b42eb46406..9d7df8d36af0 100644
@@ -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()
Signature · 1 line
2.30.2