From: tip-bot for Antoine Tenart <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, antoine.tenart@free-electrons.com,
tglx@linutronix.de, mingo@kernel.org, hpa@zytor.com
Subject: [tip:irq/urgent] irqchip/irq-mvebu-gicp: Add missing spin_lock init
Date: Tue, 31 Oct 2017 16:39:46 -0700 [thread overview]
Message-ID: <tip-c9bb86338a6bb91e4d32db04feb6b8d423e04d06@git.kernel.org> (raw)
In-Reply-To: <20171025072326.21030-1-antoine.tenart@free-electrons.com>
Commit-ID: c9bb86338a6bb91e4d32db04feb6b8d423e04d06
Gitweb: https://git.kernel.org/tip/c9bb86338a6bb91e4d32db04feb6b8d423e04d06
Author: Antoine Tenart <antoine.tenart@free-electrons.com>
AuthorDate: Wed, 25 Oct 2017 09:23:26 +0200
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitDate: Wed, 1 Nov 2017 00:35:18 +0100
irqchip/irq-mvebu-gicp: Add missing spin_lock init
A spin lock is used in the irq-mvebu-gicp driver, but it is never
initialized. This patch adds the missing spin_lock_init() call in the
driver's probe function.
Fixes: a68a63cb4dfc ("irqchip/irq-mvebu-gicp: Add new driver for Marvell GICP")
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: gregory.clement@free-electrons.com
Acked-by: marc.zyngier@arm.com
Cc: thomas.petazzoni@free-electrons.com
Cc: andrew@lunn.ch
Cc: jason@lakedaemon.net
Cc: nadavh@marvell.com
Cc: miquel.raynal@free-electrons.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: sebastian.hesselbarth@gmail.com
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20171025072326.21030-1-antoine.tenart@free-electrons.com
---
drivers/irqchip/irq-mvebu-gicp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/irqchip/irq-mvebu-gicp.c b/drivers/irqchip/irq-mvebu-gicp.c
index b283fc9..17a4a7b 100644
--- a/drivers/irqchip/irq-mvebu-gicp.c
+++ b/drivers/irqchip/irq-mvebu-gicp.c
@@ -194,6 +194,7 @@ static int mvebu_gicp_probe(struct platform_device *pdev)
return -ENOMEM;
gicp->dev = &pdev->dev;
+ spin_lock_init(&gicp->spi_lock);
gicp->res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!gicp->res)
prev parent reply other threads:[~2017-10-31 23:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 7:23 [PATCH] irqchip/irq-mvebu-gicp: add missing spin_lock init Antoine Tenart
2017-10-25 7:23 ` Antoine Tenart
2017-10-25 7:37 ` Gregory CLEMENT
2017-10-25 7:37 ` Gregory CLEMENT
2017-10-25 7:51 ` Marc Zyngier
2017-10-25 7:51 ` Marc Zyngier
2017-10-31 23:39 ` tip-bot for Antoine Tenart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-c9bb86338a6bb91e4d32db04feb6b8d423e04d06@git.kernel.org \
--to=tipbot@zytor.com \
--cc=antoine.tenart@free-electrons.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.