Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752099Ab2FRMSo (ORCPT ); Mon, 18 Jun 2012 08:18:44 -0400 Received: from mail-vc0-f174.google.com ([209.85.220.174]:49533 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751042Ab2FRMSn convert rfc822-to-8bit (ORCPT ); Mon, 18 Jun 2012 08:18:43 -0400 MIME-Version: 1.0 In-Reply-To: References: <1339946252-21019-1-git-send-email-otavio@ossystems.com.br> <1339946252-21019-2-git-send-email-otavio@ossystems.com.br> Date: Mon, 18 Jun 2012 09:18:42 -0300 X-Google-Sender-Auth: EaXG7RJ8oGWVUibxrCe-VHP50Aw Message-ID: Subject: Re: [PATCH 2/2] pinctrl: pinctrl-mxs: fix implicit declaration of free() From: Otavio Salvador To: Linus Walleij Cc: Devendra aaru , Fabio Estevam , fabio.estevam@freescale.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 794 Lines: 25 On Mon, Jun 18, 2012 at 3:04 AM, Linus Walleij wrote: > But: > >> ?free_group: >> - ? ? ? if (!purecfg) >> - ? ? ? ? ? ? ? free(group); >> + ? ? ? kfree(group); > > Why did you delete the if (!purecfg) clause? Ouch! I missread it as if where checking for valid group. Thanks by noticing it. I will drop it from my tree then. -- Otavio Salvador? ? ? ? ? ? ? ? ? ? ? ? ? ? ?O.S. Systems E-mail: otavio@ossystems.com.br? http://www.ossystems.com.br Mobile: +55 53 9981-7854? ? ? ?? ? ? ?http://projetos.ossystems.com.br -- 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/