[PATCH] cpumask: cpumask_test_and_clear_cpu() comment correction

From: Yu Chen
Date: Wed Mar 20 2019 - 02:44:35 EST


Fix code comment for cpumask_test_and_clear_cpu().

Signed-off-by: Yu Chen <yu.chen3@xxxxxxxxxx>
---
include/linux/cpumask.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 147bdec..73ca70d 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -363,7 +363,7 @@ static inline int cpumask_test_and_set_cpu(int cpu, struct cpumask *cpumask)
* @cpu: cpu number (< nr_cpu_ids)
* @cpumask: the cpumask pointer
*
- * Returns 1 if @cpu is set in old bitmap of @cpumask, else returns 0
+ * Returns 1 if @cpu is clear in old bitmap of @cpumask, else returns 0
*
* test_and_clear_bit wrapper for cpumasks.
*/
--
2.17.1