stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Patch "drivers: firmware: psci: drop duplicate const from psci_of_match" has been added to the 4.4-stable tree
@ 2017-10-05  9:16 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2017-10-05  9:16 UTC (permalink / raw)
  To: jszhang, arnd, gregkh, lorenzo.pieralisi; +Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    drivers: firmware: psci: drop duplicate const from psci_of_match

to the 4.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drivers-firmware-psci-drop-duplicate-const-from-psci_of_match.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e Mon Sep 17 00:00:00 2001
From: Jisheng Zhang <jszhang@marvell.com>
Date: Wed, 20 Apr 2016 11:20:27 +0100
Subject: drivers: firmware: psci: drop duplicate const from psci_of_match

From: Jisheng Zhang <jszhang@marvell.com>

commit 1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e upstream.

This is to fix below sparse warning:
drivers/firmware/psci.c:mmm:nn: warning: duplicate const

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/firmware/psci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/firmware/psci.c
+++ b/drivers/firmware/psci.c
@@ -424,7 +424,7 @@ out_put_node:
 	return err;
 }
 
-static const struct of_device_id const psci_of_match[] __initconst = {
+static const struct of_device_id psci_of_match[] __initconst = {
 	{ .compatible = "arm,psci",	.data = psci_0_1_init},
 	{ .compatible = "arm,psci-0.2",	.data = psci_0_2_init},
 	{ .compatible = "arm,psci-1.0",	.data = psci_0_2_init},


Patches currently in stable-queue which might be from jszhang@marvell.com are

queue-4.4/drivers-firmware-psci-drop-duplicate-const-from-psci_of_match.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-05  9:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05  9:16 Patch "drivers: firmware: psci: drop duplicate const from psci_of_match" has been added to the 4.4-stable tree gregkh

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).