[PATCH] ppc64: Thermal control for SMU based machines

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Oct 12 10:23:07 EST 2005


On Tue, 2005-10-11 at 17:10 -0700, Andrew Morton wrote:

> > +
> > +	/* Alloc & initialize state */
> > +	wf_smu_sys_fans = kmalloc(sizeof(struct wf_smu_sys_fans_state),
> > +					GFP_KERNEL);
> > +	if (wf_smu_sys_fans == NULL) {
> > +		printk(KERN_WARNING "windfarm: Memory allocation error"
> > +		       " max fan speed\n");
> > +		goto fail;
> > +	}
> > +       	wf_smu_sys_fans->ticks = 1;
> 
> whitespace broke.

How so ? You mean the GFP_KERNEL a little bit too much on the right ? :)

Ben.





More information about the Linuxppc64-dev mailing list