irqchip: riscv-intc: Fix a typo in a pr_warn()
diff mbox series

Message ID 20200611175302.253540-1-palmer@dabbelt.com
State In Next
Commit 559fe74ba6b0c8283e923a64f19fc0398fb64d04
Headers show
Series
  • irqchip: riscv-intc: Fix a typo in a pr_warn()
Related show

Commit Message

Palmer Dabbelt June 11, 2020, 5:53 p.m. UTC
From: Palmer Dabbelt <palmerdabbelt@google.com>

Anup originally re-spun his patch set to include this fix, but it was a bit too
late for my PR so I've split it out.

Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
---
 drivers/irqchip/irq-riscv-intc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marc Zyngier June 12, 2020, 2:06 p.m. UTC | #1
On 2020-06-11 18:53, Palmer Dabbelt wrote:
> From: Palmer Dabbelt <palmerdabbelt@google.com>
> 
> Anup originally re-spun his patch set to include this fix, but it was a 
> bit too
> late for my PR so I've split it out.
> 
> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
> ---
>  drivers/irqchip/irq-riscv-intc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/irqchip/irq-riscv-intc.c 
> b/drivers/irqchip/irq-riscv-intc.c
> index a6f97fa6ff69..8017f6d32d52 100644
> --- a/drivers/irqchip/irq-riscv-intc.c
> +++ b/drivers/irqchip/irq-riscv-intc.c
> @@ -99,7 +99,7 @@ static int __init riscv_intc_init(struct device_node 
> *node,
> 
>  	hartid = riscv_of_parent_hartid(node);
>  	if (hartid < 0) {
> -		pr_warn("unable to fine hart id for %pOF\n", node);
> +		pr_warn("unable to find hart id for %pOF\n", node);
>  		return 0;
>  	}

I'll pick it post -rc1, once I merge Linus' tree into mine.

Thanks,

         M.
Marc Zyngier June 21, 2020, 2:20 p.m. UTC | #2
On Thu, 11 Jun 2020 10:53:02 -0700, Palmer Dabbelt wrote:
> Anup originally re-spun his patch set to include this fix, but it was a bit too
> late for my PR so I've split it out.

Applied to irq/irqchip-next, thanks!

[1/1] irqchip/riscv-intc: Fix a typo in a pr_warn()
      commit: 559fe74ba6b0c8283e923a64f19fc0398fb64d04

Cheers,

	M.

Patch
diff mbox series

diff --git a/drivers/irqchip/irq-riscv-intc.c b/drivers/irqchip/irq-riscv-intc.c
index a6f97fa6ff69..8017f6d32d52 100644
--- a/drivers/irqchip/irq-riscv-intc.c
+++ b/drivers/irqchip/irq-riscv-intc.c
@@ -99,7 +99,7 @@  static int __init riscv_intc_init(struct device_node *node,
 
 	hartid = riscv_of_parent_hartid(node);
 	if (hartid < 0) {
-		pr_warn("unable to fine hart id for %pOF\n", node);
+		pr_warn("unable to find hart id for %pOF\n", node);
 		return 0;
 	}