Messages in this thread | | | Date | Wed, 7 Aug 2013 20:21:13 +0200 | Subject | Re: [PATCH 1/1] pinctrl: sunxi: Fix incorrect NULL check | From | Linus Walleij <> |
| |
On Mon, Jul 29, 2013 at 10:19 AM, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> *map should be tested for NULL instead of map as kmalloc pointer > is assigned to it. This also fixes a potential null pointer dereference > bug later in the code. > > Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> > Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Patch applied with Maxime's ACK.
Yours, Linus Walleij
| |