lkml.org 
[lkml]   [2013]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gpio: mvebu: Don't free chip label memory
From
On Mon, Jan 14, 2013 at 3:15 PM, Grant Likely <grant.likely@secretlab.ca> wrote:
> On Mon, 14 Jan 2013 11:53:20 +0100, Thierry Reding <thierry.reding@avionic-design.de> 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@avionic-design.de>
>
> Acked-by: Grant Likely <grant.likely@secretlab.ca>

Yepps, patch applied.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2013-01-17 13:01    [W:0.039 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site