[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111127194653.GB25598@opensource.wolfsonmicro.com>
Date: Sun, 27 Nov 2011 19:46:53 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Rajendra Nayak <rnayak@...com>,
Liam Girdwood <lrg@...com>
Subject: Re: [PATCH v2] regulator: Avoid potential NULL dereference in
reg_fixed_voltage_probe()
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@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists