public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] cpumask: Fix typo nr_cpumask_size --> nr_cpumask_bits
@ 2023-03-06 15:22 Andy Shevchenko
  2023-03-06 19:49 ` Andy Shevchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2023-03-06 15:22 UTC (permalink / raw)
  To: Yury Norov, linux-kernel
  Cc: Andy Shevchenko, Rasmus Villemoes, Linus Torvalds

I think 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 <andriy.shevchenko@linux.intel.com>
---
 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 8fbe76607965..ce8eb7ef2107 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
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] cpumask: Fix typo nr_cpumask_size --> nr_cpumask_bits
  2023-03-06 15:22 [PATCH v1 1/1] cpumask: Fix typo nr_cpumask_size --> nr_cpumask_bits Andy Shevchenko
@ 2023-03-06 19:49 ` Andy Shevchenko
  2023-03-06 20:45   ` Linus Torvalds
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2023-03-06 19:49 UTC (permalink / raw)
  To: Yury Norov, linux-kernel; +Cc: Rasmus Villemoes, Linus Torvalds

On Mon, Mar 06, 2023 at 05:22:04PM +0200, Andy Shevchenko wrote:
> I think the never used nr_cpumask_size is just a typo,
> hence use existing redefinition that's called nr_cpumask_bits.

In another thread we still mention this. Interesting...
what did I miss?

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] cpumask: Fix typo nr_cpumask_size --> nr_cpumask_bits
  2023-03-06 19:49 ` Andy Shevchenko
@ 2023-03-06 20:45   ` Linus Torvalds
  0 siblings, 0 replies; 3+ messages in thread
From: Linus Torvalds @ 2023-03-06 20:45 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: Yury Norov, linux-kernel, Rasmus Villemoes

On Mon, Mar 6, 2023 at 11:49 AM Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:
>
> In another thread we still mention this. Interesting...
> what did I miss?

You didn't miss anything, your typo fix is correct, and the same typo
just exists in that other thread too. For all the same reasons for the
original typo (possibly together with some cut-and-paste from said
comment).

         Linus

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-06 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 15:22 [PATCH v1 1/1] cpumask: Fix typo nr_cpumask_size --> nr_cpumask_bits Andy Shevchenko
2023-03-06 19:49 ` Andy Shevchenko
2023-03-06 20:45   ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox