[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYxgOFZU6GudXbkEgnrqZZ-Mv6zwR3K_U3ZXjNhj8PbfA@mail.gmail.com>
Date: Fri, 17 May 2013 15:45:55 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Anton Vorontsov <cbou@...l.ru>,
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 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>
Yours,
Linus Walleij
--
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