Re: [PATCH] regulator: Checking return value ofof_get_regulator_init_data

From: Mark Brown
Date: Sun Nov 27 2011 - 06:30:31 EST


On Sat, Nov 26, 2011 at 08:19:19PM +0800, Axel Lin wrote:
> of_get_regulator_init_data() may return NULL, thus
> check the return value to avoid NULL pointer dereference.

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/