Messages in this thread |  | | | Date | Thu, 7 Jun 2012 13:00:43 +0200 | | Subject | Re: [PATCH 2/2] pinctrl: free if of_get_parent fails to get the parent node | | From | Linus Walleij <> |
| |
On Sat, Jun 2, 2012 at 7:04 PM, Devendra Naga <devendra.aaru@gmail.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@gmail.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@linaro.org>
Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |