linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [patch 19/32] powerpc: Remove extra semicolon in fsl_soc.c
       [not found] ` <20090320231037.GA2732@kroah.com>
@ 2009-03-20 22:26   ` Greg KH
  0 siblings, 0 replies; only message in thread
From: Greg KH @ 2009-03-20 22:26 UTC (permalink / raw)
  To: linux-kernel, stable, greg
  Cc: Theodore Ts'o, Zwane Mwaikambo, Johns Daniel, Eugene Teo,
	Justin Forbes, Domenico Andreoli, Chris Wedgwood, Jake Edge,
	linuxppc-dev, Randy Dunlap, Michael Krufky, alan, Chuck Ebbert,
	Dave Jones, Chuck Wolber, akpm, afleming, torvalds,
	Willy Tarreau, Rodrigo Rubira Branco

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

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

From: Johns Daniel <jdaniel@computer.org>

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 <johns.daniel@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
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
@@ -255,7 +255,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;

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

only message in thread, other threads:[~2009-03-20 23:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20090320222611.872315885@mini.kroah.org>
     [not found] ` <20090320231037.GA2732@kroah.com>
2009-03-20 22:26   ` [patch 19/32] powerpc: Remove extra semicolon in fsl_soc.c Greg KH

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