[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaLBGMJU65_aNZmx63T45yJ8c46coARnHMCXXVoMR+wsg@mail.gmail.com>
Date: Mon, 9 Jun 2014 15:16:40 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Sachin Kamat <sachin.kamat@...aro.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Maxime Ripard <maxime.ripard@...e-electrons.com>
Subject: Re: [PATCH 1/1] pinctrl: sunxi: Fix potential null pointer dereference
On Fri, May 30, 2014 at 12:20 PM, Sachin Kamat <sachin.kamat@...aro.org> wrote:
> kzalloc can fail. Add a null check to avoid null pointer
> dereference error while accessing the pointer later.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@...aro.org>
Patch applied for fixes with Maxime's ACK.
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