Re: [PATCH v2] ieee802154: Introduce the use of the managed version of kzalloc

From: David Miller
Date: Wed May 21 2014 - 16:30:34 EST


From: Himangi Saraogi <himangi774@xxxxxxxxx>
Date: Mon, 19 May 2014 22:25:11 +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. An explicit linux/device.h include 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>
> Acked-by: Julia Lawall <julia.lawall@xxxxxxx>
> ---
> v2: add explicit include for linux/device.h

Applied, thank you.
--
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/