Skip to contentSkip to conversation

cpumask: fox comment for cpumask_any_distribute()

PATCH New Yury Norov 1 participant 1 message Apr 1, 2025

Subsystems (2)
lore
Share & tools
lore

Yury Norov

author maintainer
#0 lore raw

PATCH 1/1 cpumask: fox comment for cpumask_any_distribute()

The 'Return' part is copypasted from the cpumask_any_and_distribute() and refers to a non-existing intersection. Fix the wording.

---
 lib/cpumask.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/cpumask.c +1 -1
index 5adb9874fbd0..81f5d2522eba 100644
@@ -151,7 +151,7 @@ EXPORT_SYMBOL(cpumask_any_and_distribute);
  * cpumask_any_distribute - Return an arbitrary cpu from srcp
  * @srcp: &cpumask for selection
  *
- * Return: >= nr_cpu_ids if the intersection is empty.
+ * Return: >= nr_cpu_ids if @srcp is empty.
  */
 unsigned int cpumask_any_distribute(const struct cpumask *srcp)
 {
Signature · 1 line
2.43.0