[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250401162743.10445-1-yury.norov@gmail.com>
Date: Tue, 1 Apr 2025 12:27:40 -0400
From: Yury Norov <yury.norov@...il.com>
To: linux-kernel@...r.kernel.org,
Yury Norov <yury.norov@...il.com>,
Rasmus Villemoes <linux@...musvillemoes.dk>
Subject: [PATCH] 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.
Signed-off-by: Yury Norov <yury.norov@...il.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
Powered by blists - more mailing lists