Re: [PATCH RESEND] regulator: Fix possible nullpointer dereferencein regulator_enable()

From: Mark Brown
Date: Fri Oct 14 2011 - 15:49:17 EST


On Fri, Oct 14, 2011 at 06:00:29PM +0200, Heiko Stübner wrote:
> In the case where _regulator_enable returns an error it was not checked
> if a supplying regulator exists before trying to disable it, leading
> to a null pointer-dereference if no supplying regulator existed.

Applied, thanks.
--
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/