Messages in this thread | | | Date | Thu, 6 Jun 2013 17:26:46 -0700 | From | Anton Vorontsov <> | Subject | Re: [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
| |