lkml.org 
[lkml]   [2015]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2015-04-08 13:41    [W:0.037 / U:1.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site