[PATCH] ARC:kernel:Fix typos in comments

Jilin Yuan posted 1 patch 3 years, 10 months ago
arch/arc/kernel/smp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ARC:kernel:Fix typos in comments
Posted by Jilin Yuan 3 years, 10 months ago
Delete the redundant word 'call'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 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
Re: [PATCH] ARC:kernel:Fix typos in comments
Posted by Vineet Gupta 3 years, 10 months ago

On 6/22/22 00:52, Jilin Yuan wrote:
> Delete the redundant word 'call'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>   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