Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755920AbbLAKMU (ORCPT ); Tue, 1 Dec 2015 05:12:20 -0500 Received: from mail-ob0-f170.google.com ([209.85.214.170]:36476 "EHLO mail-ob0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754525AbbLAKMR (ORCPT ); Tue, 1 Dec 2015 05:12:17 -0500 MIME-Version: 1.0 In-Reply-To: <1448453603-38980-1-git-send-email-yingjoe.chen@mediatek.com> References: <1448453603-38980-1-git-send-email-yingjoe.chen@mediatek.com> Date: Tue, 1 Dec 2015 11:12:16 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: update document for pinconf_generic_parse_dt_config From: Linus Walleij To: Yingjoe Chen Cc: "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Ludovic Desroches Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 23 On Wed, Nov 25, 2015 at 1:13 PM, Yingjoe Chen wrote: > The returned configs from pinconf_generic_parse_dt_config() is > duplicated from original. Make it clear it must be freed when no > longer necessary. > > Signed-off-by: Yingjoe Chen Patch applied. > It seems memleak in pinctrl-mtk-common.c[1] is not alone. After a quick > glance I notice similar issues in drivers/pinctrl/pinctrl-at91-pio4.c and > drivers/pinctrl/nomadik/pinctrl-abx500.c. Patches fixing them are coming? ;) 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/