[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZDvAGcfRuE76YiNwfOoLt77Cr97hf+uWf9VMkERKCp-A@mail.gmail.com>
Date: Thu, 7 Jun 2012 13:00:43 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Devendra Naga <devendra.aaru@...il.com>,
Shawn Guo <shawn.guo@...aro.org>,
Dong Aisheng <dong.aisheng@...aro.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] pinctrl: free if of_get_parent fails to get the
parent node
On Sat, Jun 2, 2012 at 7:04 PM, Devendra Naga <devendra.aaru@...il.com> wrote:
> of_get_parent can return null if no parent node found, so the allocated new_map
> should be freed.
>
> Signed-off-by: Devendra Naga <devendra.aaru@...il.com>
> ---
> drivers/pinctrl/pinctrl-imx.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Shawn/Dong can you ACK/NACK this patch so I can apply it to
pinctrl? Alternatively you can push it through the i.MX tree if
need be, 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