[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1553064273-7755-1-git-send-email-yu.chen3@zte.com.cn>
Date: Wed, 20 Mar 2019 14:44:33 +0800
From: Yu Chen <yu.chen3@....com.cn>
To: davem@...emloft.net
Cc: willemb@...gle.com, amritha.nambiar@...el.com,
linux-kernel@...r.kernel.org, wang.yi59@....com.cn,
Yu Chen <yu.chen3@....com.cn>
Subject: [PATCH] cpumask: cpumask_test_and_clear_cpu() comment correction
Fix code comment for cpumask_test_and_clear_cpu().
Signed-off-by: Yu Chen <yu.chen3@....com.cn>
---
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
Powered by blists - more mailing lists