Re: [PATCH] gpio: mvebu: Don't free chip label memory

From: Linus Walleij
Date: Thu Jan 17 2013 - 06:27:31 EST


On Mon, Jan 14, 2013 at 3:15 PM, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote:
> On Mon, 14 Jan 2013 11:53:20 +0100, Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx> wrote:
>> The gpio_chip.label field is a const char * and assigned the value of a
>> call to dev_name(). Memory obtained from dev_name() should not be freed
>> by drivers.
>>
>> Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
>
> Acked-by: Grant Likely <grant.likely@xxxxxxxxxxxx>

Yepps, patch applied.

Yours,
Linus Walleij
--
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/