Re: [PATCH] smp: Fix typo in comment for raw_smp_processor_id()

From: Boqun Feng
Date: Tue Jun 10 2025 - 12:43:33 EST


On Tue, Jun 10, 2025 at 01:27:13PM +0530, Viresh Kumar wrote:
> The comment in `smp.h` incorrectly refers to `raw_processor_id()`
> instead of the correct function name `raw_smp_processor_id()`.
>
> Suggested-by: Boqun Feng <boqun.feng@xxxxxxxxx>
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

Reviewed-by: Boqun Feng <boqun.feng@xxxxxxxxx>

Regards,
Boqun

> ---
> include/linux/smp.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/smp.h b/include/linux/smp.h
> index f1aa0952e8c3..bea8d2826e09 100644
> --- a/include/linux/smp.h
> +++ b/include/linux/smp.h
> @@ -234,7 +234,7 @@ static inline int get_boot_cpu_id(void)
> #endif /* !SMP */
>
> /**
> - * raw_processor_id() - get the current (unstable) CPU id
> + * raw_smp_processor_id() - get the current (unstable) CPU id
> *
> * For then you know what you are doing and need an unstable
> * CPU id.
> --
> 2.31.1.272.g89b43f80a514
>