Thread (1 message) 1 message, 1 author, 2009-03-20
STALE6371d REVIEWED: 1 (0M)

1 review trailer.

[patch 37/43] powerpc: Remove extra semicolon in fsl_soc.c

From: Greg KH <gregkh@suse.de>
Date: 2009-03-20 23:39:11
Also in: lkml

2.6.28-stable review patch.  If anyone has any objections, please let us know.

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

From: Johns Daniel <redacted>

TSEC/MDIO will not work with older device trees because of a semicolon
at the end of a macro resulting in an empty for loop body.

This fix only applies to 2.6.28; this code is gone in 2.6.29, according
to Grant Likely!

Signed-off-by: Johns Daniel <redacted>
Acked-by: Grant Likely <redacted>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>


---
 arch/powerpc/sysdev/fsl_soc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -257,7 +257,7 @@ static int __init gfar_mdio_of_init(void
 		gfar_mdio_of_init_one(np);
 
 	/* try the deprecated version */
-	for_each_compatible_node(np, "mdio", "gianfar");
+	for_each_compatible_node(np, "mdio", "gianfar")
 		gfar_mdio_of_init_one(np);
 
 	return 0;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help