[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130607002645.GC7052@lizard.sbx05280.losalca.wayport.net>
Date: Thu, 6 Jun 2013 17:26:46 -0700
From: Anton Vorontsov <anton.vorontsov@...aro.org>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Axel Lin <axel.lin@...ics.com>,
Rupesh Kumar <rupesh.kumar@...ricsson.com>,
Michel JAOUEN <michel.jaouen@...ricsson.com>,
Loic Pallardy <loic.pallardy@...ricsson.com>,
David Woodhouse <dwmw2@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
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@...ics.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@...ics.com>
>
> Acked-by: Linus Walleij <linus.walleij@...aro.org>
Applied, thanks!
Anton
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists