* [PATCH] cpumask: cpumask_test_and_clear_cpu() comment correction
@ 2019-03-20 6:44 Yu Chen
0 siblings, 0 replies; only message in thread
From: Yu Chen @ 2019-03-20 6:44 UTC (permalink / raw)
To: davem; +Cc: willemb, amritha.nambiar, linux-kernel, wang.yi59, Yu Chen
Fix code comment for cpumask_test_and_clear_cpu().
Signed-off-by: Yu Chen <yu.chen3@zte.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-03-20 6:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-20 6:44 [PATCH] cpumask: cpumask_test_and_clear_cpu() comment correction Yu Chen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).