diff mbox series

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

Message ID 20200611175302.253540-1-palmer@dabbelt.com (mailing list archive)
State New, archived
Headers show
Series irqchip: riscv-intc: Fix a typo in a pr_warn() | expand

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.
diff mbox series

Patch

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;
 	}