[Cbe-oss-dev] [PATCH 4/6] spufs: extension of spu_create to support affinity definition

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Feb 13 07:07:13 EST 2007


> >  {
> >  	int ret;
> > +	struct spu_gang *gang = NULL;
> > +	struct spu_context *neighbor = NULL;
> >  
> >  	ret = -EPERM;
> >  	if ((flags & SPU_CREATE_NOSCHED) &&
> 
> style: don't initialize local variables in their definition.

Why ? I do that all the time :-)

Ben.





More information about the cbe-oss-dev mailing list