lkml.org 
[lkml]   [2013]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] power_supply: pm2301_charger: Fix NULL pointer dereference
On Fri, May 17, 2013 at 03:45:55PM +0200, Linus Walleij wrote:
> On Thu, May 16, 2013 at 11:31 AM, Axel Lin <axel.lin@ingics.com> wrote:
>
> > Add checking pl_data in probe, this prevent possible NULL pointer dereference.
> > Also fix NULL pointer deference in dev_err when allocate memory for pm2 fails.
> >
> > Signed-off-by: Axel Lin <axel.lin@ingics.com>
>
> Acked-by: Linus Walleij <linus.walleij@linaro.org>

Applied, thanks!

Anton


\
 
 \ /
  Last update: 2013-06-07 03:21    [W:2.216 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site