projects/linux·commit 80c16b2b

cpumask: Fix typo nr_cpumask_size --> nr_cpumask_bits

80c16b2b · Andy Shevchenko <[email protected]> · 2023-03-06 17:22:04 +02:00

The never used nr_cpumask_size is just a typo, hence use existing
redefinition that's called nr_cpumask_bits.

Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
80c16b2b121fbc3380dbffa9bab7559acbaaa2ed
Parents
fe15c26e

Changes

1 files changed · +1 −1

FileStatusAddDelContent
include/linux/cpumask.hmodified+1−1View file

include/linux/cpumask.h

View file
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 8fbe766..ce8eb7e 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -66,7 +66,7 @@ static inline void set_nr_cpu_ids(unsigned int nr)
*
* Finally, some operations just want the exact limit, either because
* they set bits or just don't have any faster fixed-sized versions. We
- * call this just 'nr_cpumask_size'.
+ * call this just 'nr_cpumask_bits'.
*
* Note that these optional constants are always guaranteed to be at
* least as big as 'nr_cpu_ids' itself is, and all our cpumask