[PATCH] irqchip/riscv-plic: Fix typo in irq-riscv-intc.c

Greentime Hu greentime.hu at sifive.com
Tue Jun 23 00:08:45 EDT 2020


This patch fixes a spelling typo in irq-riscv-intc.c

Signed-off-by: Greentime Hu <greentime.hu at sifive.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;
 	}
 
-- 
2.27.0




More information about the linux-riscv mailing list