Patch "of/dynamic: Fix test for PPC_PSERIES" has been added to the 4.0-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
of/dynamic: Fix test for PPC_PSERIES
to the 4.0-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:
of-dynamic-fix-test-for-ppc_pseries.patch
and it can be found in the queue-4.0 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
f76502aa9140ec338a59487218bf70a9c9e92b8fMon Sep 17 00:00:00 2001
From: Geert Uytterhoeven <[email protected]>
Date: Thu, 4 Jun 2015 11:34:41 +0200
Subject: of/dynamic: Fix test for PPC_PSERIES
From: Geert Uytterhoeven <[email protected]>
commit f76502aa9140ec338a59487218bf70a9c9e92b8f upstream.
"IS_ENABLED(PPC_PSERIES)" always evaluates to false, as IS_ENABLED() is supposed to be used with the full Kconfig symbol name, including the "CONFIG_" prefix.
Add the missing "CONFIG_" prefix to fix this.
--- drivers/of/dynamic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/dynamic.c +1 -1
@@ -225,7 +225,7 @@ void __of_attach_node(struct device_node phandle =__of_get_property (np,"phandle" , &sz);if (!phandle) phandle =__of_get_property (np,"linux,phandle" , &sz); -if (IS_ENABLED (PPC_PSERIES ) && !phandle) +if (IS_ENABLED (CONFIG_PPC_PSERIES ) && !phandle) phandle =__of_get_property (np,"ibm,phandle" , &sz); np->phandle = (phandle && (sz >=4 )) ?be32_to_cpup (phandle) :0 ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.0/of-dynamic-fix-test-for-ppc_pseries.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in