lkml.org 
[lkml]   [2014]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] ehea: Introduce the use of the managed version of kzalloc
From
From: Himangi Saraogi <himangi774@gmail.com>
Date: Wed, 28 May 2014 19:53:09 +0530

> This patch moves data allocated using kzalloc to managed data allocated
> using devm_kzalloc and cleans now unnecessary kfrees in probe and remove
> functions. Also, linux/device.h is added to make sure the devm_*()
> routine declarations are unambiguously available.
>
> The following Coccinelle semantic patch was used for making the change:
...
> Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
> Compile-Tested-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
> ---
> v3: add space in linux/device.h include

Applied to net-next, thanks.


\
 
 \ /
  Last update: 2014-05-31 01:21    [W:0.206 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site