[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150408110306.GV6023@sirena.org.uk>
Date: Wed, 8 Apr 2015 12:03:06 +0100
From: Mark Brown <broonie@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Liam Girdwood <lgirdwood@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: max8660: fix assignment of pdata to data that
becomes dead
On Tue, Apr 07, 2015 at 11:06:46PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> pdata is assigned to &pdata_of, however, pdata_of becomes dead (when it
> goes out of scope) so pdata effectively becomes a dead pointer to the
> out of scope object. This is detected by static analysis:
Applied, thanks
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists