2022-06-22 08:26:05

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] ARC:kernel:Fix typos in comments

Delete the redundant word 'call'.

Signed-off-by: Jilin Yuan <[email protected]>
---
arch/arc/kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
index d947473f1e6d..6c22a53711e9 100644
--- a/arch/arc/kernel/smp.c
+++ b/arch/arc/kernel/smp.c
@@ -393,7 +393,7 @@ irqreturn_t do_IPI(int irq, void *dev_id)
* API called by platform code to hookup arch-common ISR to their IPI IRQ
*
* Note: If IPI is provided by platform (vs. say ARC MCIP), their intc setup/map
- * function needs to call call irq_set_percpu_devid() for IPI IRQ, otherwise
+ * function needs to call irq_set_percpu_devid() for IPI IRQ, otherwise
* request_percpu_irq() below will fail
*/
static DEFINE_PER_CPU(int, ipi_dev);
--
2.36.1


2022-06-23 04:42:01

by Vineet Gupta

[permalink] [raw]
Subject: Re: [PATCH] ARC:kernel:Fix typos in comments



On 6/22/22 00:52, Jilin Yuan wrote:
> Delete the redundant word 'call'.
>
> Signed-off-by: Jilin Yuan <[email protected]>
> ---
> arch/arc/kernel/smp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
> index d947473f1e6d..6c22a53711e9 100644
> --- a/arch/arc/kernel/smp.c
> +++ b/arch/arc/kernel/smp.c
> @@ -393,7 +393,7 @@ irqreturn_t do_IPI(int irq, void *dev_id)
> * API called by platform code to hookup arch-common ISR to their IPI IRQ
> *
> * Note: If IPI is provided by platform (vs. say ARC MCIP), their intc setup/map
> - * function needs to call call irq_set_percpu_devid() for IPI IRQ, otherwise
> + * function needs to call irq_set_percpu_devid() for IPI IRQ, otherwise
> * request_percpu_irq() below will fail
> */
> static DEFINE_PER_CPU(int, ipi_dev);

I'd prefer to have this is the other fix in a single change. No point
increasing commits for trivial things.

-Vineet