Re: [PATCH v2] x86/therm_throt.c: Fix error handling inthermal_throttle_add_dev

From: Ingo Molnar
Date: Fri Oct 08 2010 - 04:26:56 EST



* Fenghua Yu <fenghua.yu@xxxxxxxxx> wrote:

> #ifdef CONFIG_HOTPLUG_CPU
> mutex_unlock(&therm_cpu_lock);
> #endif

> +#ifdef CONFIG_HOTPLUG_CPU
> + mutex_unlock(&therm_cpu_lock);
> +#endif

That's all very ugly.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/