Skip to contentSkip to conversation

cpumask: cpumask_test_and_clear_cpu() comment correction

PATCH New Yu Chen 1 participant 1 message Mar 20, 2019 Bitmap API

lore
Share & tools
lore

Yu Chen

author
#0 lore raw

PATCH 1/1 cpumask: cpumask_test_and_clear_cpu() comment correction

Fix code comment for cpumask_test_and_clear_cpu().

---
 include/linux/cpumask.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/cpumask.h +1 -1
index 147bdec..73ca70d 100644
@@ -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.
  */
Signature · 1 line
2.17.1