[PATCH] cpumask: align text in comment

Joel Savitz posted 1 patch 9 months ago
include/linux/cpumask.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cpumask: align text in comment
Posted by Joel Savitz 9 months ago
Since commit 4e1a7df45480 ("cpumask: Add enabled cpumask
for present CPUs that can be brought online") introduced
cpu_enabled_mask, the comment line describing the mask
has been slightly out of alignment with the adjacent
lines.

Fix this by removing a single space character.

Signed-off-by: Joel Savitz <jsavitz@redhat.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 36a890d0dd57..c281990c000f 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -81,7 +81,7 @@ static __always_inline void set_nr_cpu_ids(unsigned int nr)
  *
  *     cpu_possible_mask- has bit 'cpu' set iff cpu is populatable
  *     cpu_present_mask - has bit 'cpu' set iff cpu is populated
- *     cpu_enabled_mask  - has bit 'cpu' set iff cpu can be brought online
+ *     cpu_enabled_mask - has bit 'cpu' set iff cpu can be brought online
  *     cpu_online_mask  - has bit 'cpu' set iff cpu available to scheduler
  *     cpu_active_mask  - has bit 'cpu' set iff cpu available to migration
  *
-- 
2.45.2
Re: [PATCH] cpumask: align text in comment
Posted by Yury Norov 9 months ago
On Wed, Mar 19, 2025 at 12:12:18PM -0400, Joel Savitz wrote:
> Since commit 4e1a7df45480 ("cpumask: Add enabled cpumask
> for present CPUs that can be brought online") introduced
> cpu_enabled_mask, the comment line describing the mask
> has been slightly out of alignment with the adjacent
> lines.
> 
> Fix this by removing a single space character.
> 
> Signed-off-by: Joel Savitz <jsavitz@redhat.com>

Applied,

Thanks,
Yury

> ---
>  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 36a890d0dd57..c281990c000f 100644
> --- a/include/linux/cpumask.h
> +++ b/include/linux/cpumask.h
> @@ -81,7 +81,7 @@ static __always_inline void set_nr_cpu_ids(unsigned int nr)
>   *
>   *     cpu_possible_mask- has bit 'cpu' set iff cpu is populatable
>   *     cpu_present_mask - has bit 'cpu' set iff cpu is populated
> - *     cpu_enabled_mask  - has bit 'cpu' set iff cpu can be brought online
> + *     cpu_enabled_mask - has bit 'cpu' set iff cpu can be brought online
>   *     cpu_online_mask  - has bit 'cpu' set iff cpu available to scheduler
>   *     cpu_active_mask  - has bit 'cpu' set iff cpu available to migration
>   *
> -- 
> 2.45.2