Re: [PATCH v2] regulator: Avoid potential NULL dereference inreg_fixed_voltage_probe()

From: Mark Brown
Date: Sun Nov 27 2011 - 14:46:54 EST


On Sun, Nov 27, 2011 at 08:07:57PM +0800, Axel Lin wrote:
> of_get_fixed_voltage_config() may return NULL, return -ENOMEM in this case
> so we don't dereference NULL pointer.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>

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/