[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120620101856.GH3978@opensource.wolfsonmicro.com>
Date: Wed, 20 Jun 2012 11:18:57 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org,
"Milo(Woogyom) Kim" <milo.kim@...com>, Liam Girdwood <lrg@...com>
Subject: Re: [PATCH] regulator: lp872x: Return -EINVAL if pdata is NULL
On Wed, Jun 20, 2012 at 04:13:15PM +0800, Axel Lin wrote:
> Return -EINVAL if pdata is NULL, otherwise we have NULL dereference bug.
> This patch also moves the code checking pdata earlier in lp872x_probe.
Applied, thanks. We should really not be insisting on pdata though.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists