Skip to contentSkip to conversation

Patch "drivers: firmware: psci: drop duplicate const from psci_of_match" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Oct 5, 2017 Stable branch

lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

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 <[email protected]> know about it.

Quoted 1 line

From 1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e Mon Sep 17 00:00:00 2001

From: Jisheng Zhang <[email protected]>
Date: Wed, 20 Apr 2016 11:20:27 +0100
Subject: drivers: firmware: psci: drop duplicate const from psci_of_match

From: Jisheng Zhang <[email protected]>

commit 1d2d8de44a6c20af262b4c3d3b93ef7ec3c5488e upstream.

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

---
 drivers/firmware/psci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/firmware/psci.c +1 -1
@@ -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 [email protected] are

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