lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171106085048.658146684@linuxfoundation.org>
Date:   Mon,  6 Nov 2017 10:12:49 +0100
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     linux-kernel@...r.kernel.org
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        stable@...r.kernel.org,
        Antoine Tenart <antoine.tenart@...e-electrons.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        gregory.clement@...e-electrons.com, marc.zyngier@....com,
        thomas.petazzoni@...e-electrons.com, andrew@...n.ch,
        jason@...edaemon.net, nadavh@...vell.com,
        miquel.raynal@...e-electrons.com,
        linux-arm-kernel@...ts.infradead.org,
        sebastian.hesselbarth@...il.com
Subject: [PATCH 4.13 36/36] irqchip/irq-mvebu-gicp: Add missing spin_lock init

4.13-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Antoine Tenart <antoine.tenart@...e-electrons.com>

commit c9bb86338a6bb91e4d32db04feb6b8d423e04d06 upstream.

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@...e-electrons.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Reviewed-by: gregory.clement@...e-electrons.com
Acked-by: marc.zyngier@....com
Cc: thomas.petazzoni@...e-electrons.com
Cc: andrew@...n.ch
Cc: jason@...edaemon.net
Cc: nadavh@...vell.com
Cc: miquel.raynal@...e-electrons.com
Cc: linux-arm-kernel@...ts.infradead.org
Cc: sebastian.hesselbarth@...il.com
Link: https://lkml.kernel.org/r/20171025072326.21030-1-antoine.tenart@free-electrons.com
Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

---
 drivers/irqchip/irq-mvebu-gicp.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/irqchip/irq-mvebu-gicp.c
+++ b/drivers/irqchip/irq-mvebu-gicp.c
@@ -194,6 +194,7 @@ static int mvebu_gicp_probe(struct platf
 		return -ENOMEM;
 
 	gicp->dev = &pdev->dev;
+	spin_lock_init(&gicp->spi_lock);
 
 	gicp->res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (!gicp->res)


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ