linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [irqchip: irq/irqchip-next] irqchip/ti-sci-inta: Fix printing of inta id on probe success
       [not found] <20201102120614.11109-1-lokeshvutla@ti.com>
@ 2020-12-11 14:58 ` irqchip-bot for Lokesh Vutla
  2020-12-11 15:01 ` [PATCH] " Marc Zyngier
  1 sibling, 0 replies; 2+ messages in thread
From: irqchip-bot for Lokesh Vutla @ 2020-12-11 14:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Lokesh Vutla, Marc Zyngier, tglx

The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID:     b10d5fd489b0c67f59cbdd28d95f4bd9f76a62f2
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/b10d5fd489b0c67f59cbdd28d95f4bd9f76a62f2
Author:        Lokesh Vutla <lokeshvutla@ti.com>
AuthorDate:    Mon, 02 Nov 2020 17:36:14 +05:30
Committer:     Marc Zyngier <maz@kernel.org>
CommitterDate: Fri, 11 Dec 2020 14:47:50 

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
---
 drivers/irqchip/irq-ti-sci-inta.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-ti-sci-inta.c b/drivers/irqchip/irq-ti-sci-inta.c
index b2ab8db..532d0ae 100644
--- a/drivers/irqchip/irq-ti-sci-inta.c
+++ b/drivers/irqchip/irq-ti-sci-inta.c
@@ -726,7 +726,7 @@ static int ti_sci_inta_irq_domain_probe(struct platform_device *pdev)
 	INIT_LIST_HEAD(&inta->vint_list);
 	mutex_init(&inta->vint_mutex);
 
-	dev_info(dev, "Interrupt Aggregator domain %d created\n", pdev->id);
+	dev_info(dev, "Interrupt Aggregator domain %d created\n", inta->ti_sci_id);
 
 	return 0;
 }

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] irqchip/ti-sci-inta: Fix printing of inta id on probe success
       [not found] <20201102120614.11109-1-lokeshvutla@ti.com>
  2020-12-11 14:58 ` [irqchip: irq/irqchip-next] irqchip/ti-sci-inta: Fix printing of inta id on probe success irqchip-bot for Lokesh Vutla
@ 2020-12-11 15:01 ` Marc Zyngier
  1 sibling, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2020-12-11 15:01 UTC (permalink / raw)
  To: shawnguo, linux, leoyang.li, mark.rutland, zhiqiang.hou,
	Biwen Li, robh+dt, tglx, Lokesh Vutla
  Cc: xiaobo.xie, Hou Zhiqiang, devicetree, linux-arm-kernel, Biwen Li,
	linux-kernel, jiafei.pan, Sekhar Nori, Nishanth Menon

On Mon, 2 Nov 2020 17:36:14 +0530, Lokesh Vutla wrote:
> 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.

Applied to irq/irqchip-next, thanks!

[1/1] irqchip/ti-sci-inta: Fix printing of inta id on probe success
      commit: b10d5fd489b0c67f59cbdd28d95f4bd9f76a62f2

Cheers,

	M.
-- 
Without deviation from the norm, progress is not possible.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-11 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201102120614.11109-1-lokeshvutla@ti.com>
2020-12-11 14:58 ` [irqchip: irq/irqchip-next] irqchip/ti-sci-inta: Fix printing of inta id on probe success irqchip-bot for Lokesh Vutla
2020-12-11 15:01 ` [PATCH] " Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).