Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/ti-sci-inta: Fix printing of inta id on probe success

On a successful probe, the driver tries to print a success message with
INTA device id. It uses pdev->id for printing the id but id is stored in
inta->ti_sci_id. Fix it by correcting the dev_info parameter.

Fixes: 5c4b585d2910 ("irqchip/ti-sci-inta: Add support for INTA directly connecting to GIC")
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201102120614.11109-1-lokeshvutla@ti.com

authored by

Lokesh Vutla and committed by
Marc Zyngier
b10d5fd4 04e7f423

+1 -1
+1 -1
drivers/irqchip/irq-ti-sci-inta.c
··· 726 726 INIT_LIST_HEAD(&inta->vint_list); 727 727 mutex_init(&inta->vint_mutex); 728 728 729 - dev_info(dev, "Interrupt Aggregator domain %d created\n", pdev->id); 729 + dev_info(dev, "Interrupt Aggregator domain %d created\n", inta->ti_sci_id); 730 730 731 731 return 0; 732 732 }