From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from coco.kroah.org (kroah.org [198.145.64.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "coco.kroah.org", Issuer "Greg KH" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 49929DDEEF for ; Fri, 13 Mar 2009 17:07:47 +1100 (EST) Date: Thu, 12 Mar 2009 23:03:18 -0700 From: Greg KH To: Grant Likely Subject: Re: [PATCH] powerpc: Remove extra semicolon in fsl_soc.c Message-ID: <20090313060318.GA19770@kroah.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: Cc: afleming@freescale.com, Greg KH , Johns Daniel , stable@kernel.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Mar 11, 2009 at 10:03:22AM -0600, Grant Likely wrote: > On Wed, Mar 11, 2009 at 9:50 AM, Johns Daniel wrote: > > A semicolon at the end of the macro means that the for loop has an > > empty body, and so TSEC/MDIO will not work with older device trees. > > > > This fix only applies to 2.6.28; apparently, this code is gone for > > 2.6.29, according to Grant Likely! > > > > Signed-off-by: Johns Daniel > > Acked-by: Grant Likely > > Greg: Andy Flemming should probably confirm this, but I think this > one should be backported to the stable series. Hm, this patch is line-wrapped and tabs are stripped, so I can't apply it :( Anyone care to resend it? thanks, greg k-h > > --- > > --- linux-2.6.28.7/arch/powerpc/sysdev/fsl_soc.c.orig   2009-02-20 > > 16:41:27.000000000 -0600 > > +++ linux-2.6.28.7/arch/powerpc/sysdev/fsl_soc.c        2009-03-10 > > 15:56:47.000000000 -0500 > > @@ -257,7 +257,7 @@ > >                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; > > --- > > _______________________________________________ > > Linuxppc-dev mailing list > > Linuxppc-dev@ozlabs.org > > https://ozlabs.org/mailman/listinfo/linuxppc-dev > > > > > > -- > Grant Likely, B.Sc., P.Eng. > Secret Lab Technologies Ltd.