Re: [PATCH 2/2] pinctrl: pinctrl-mxs: fix implicit declaration of free()

From: Otavio Salvador
Date: Mon Jun 18 2012 - 08:18:37 EST


On Mon, Jun 18, 2012 at 3:04 AM, Linus Walleij <linus.walleij@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxx  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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/