Re: [PATCH v3] ehea: Introduce the use of the managed version of kzalloc
From: David Miller
Date: Fri May 30 2014 - 18:41:03 EST
From: Himangi Saraogi <himangi774@xxxxxxxxx>
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@xxxxxxxxx>
> Compile-Tested-by: Thadeu Lima de Souza Cascardo <cascardo@xxxxxxxxxxxxxxxxxx>
> ---
> v3: add space in linux/device.h include
Applied to net-next, thanks.
--
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/