[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbGHxPYRZGBZXFDSCxqNQC32CgF9Dp5c3BEkwtyRAGwBA@mail.gmail.com>
Date: Tue, 12 Jun 2012 13:03:02 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Devendra Naga <devendra.aaru@...il.com>
Cc: Dong Aisheng <aisheng.dong@...escale.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2 2/2] pinctrl: pinctrl-imx: free if of_get_parent fails
to get the parent node
On Thu, Jun 7, 2012 at 6:49 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>
> Acked-by: Dong Aisheng <dong.aisheng@...aro.org>
Applied this v2 version, thanks!
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