Messages in this thread | | | Date | Wed, 8 Apr 2015 12:03:06 +0100 | From | Mark Brown <> | 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@canonical.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 [unhandled content-type:application/pgp-signature] | |