[PATCH] cpumask: fox comment for cpumask_any_distribute()

Yury Norov posted 1 patch 1 week, 2 days ago
lib/cpumask.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cpumask: fox comment for cpumask_any_distribute()
Posted by Yury Norov 1 week, 2 days ago
The 'Return' part is copypasted from the cpumask_any_and_distribute()
and refers to a non-existing intersection. Fix the wording.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
---
 lib/cpumask.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cpumask.c b/lib/cpumask.c
index 5adb9874fbd0..81f5d2522eba 100644
--- a/lib/cpumask.c
+++ b/lib/cpumask.c
@@ -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)
 {
-- 
2.43.0