Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754416AbbLAK0H (ORCPT ); Tue, 1 Dec 2015 05:26:07 -0500 Received: from eusmtp01.atmel.com ([212.144.249.243]:12013 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751183AbbLAK0D (ORCPT ); Tue, 1 Dec 2015 05:26:03 -0500 Date: Tue, 1 Dec 2015 11:26:03 +0100 From: Ludovic Desroches To: Linus Walleij CC: Yingjoe Chen , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Ludovic Desroches Subject: Re: [PATCH] pinctrl: update document for pinconf_generic_parse_dt_config Message-ID: <20151201102603.GC29282@odux.rfo.atmel.com> Mail-Followup-To: Linus Walleij , Yingjoe Chen , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" References: <1448453603-38980-1-git-send-email-yingjoe.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 917 Lines: 27 On Tue, Dec 01, 2015 at 11:12:16AM +0100, Linus Walleij wrote: > 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? ;) Yes, it's planned. Regards Ludovic -- 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/