Re: [PATCH] Documentation: devres: Add devm_kmalloc() et al

From: Randy Dunlap
Date: Sat Jun 28 2014 - 21:31:22 EST


[adding Tejun Heo]

patch OK, Tejun? You want to apply it?


On 06/23/14 04:28, Daniel Thompson wrote:
> Commit 64c862a83... added new alloc variants to the devres managed
> API. These should be included in the list of managed API found in
> devres.txt.
>
> Signed-off-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx>
> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> Cc: Grant Likely <grant.likely@xxxxxxxxxx>
> Cc: Rob Herring <robh+dt@xxxxxxxxxx>
> Cc: Joe Perches <joe@xxxxxxxxxxx>
> Cc: linux-doc@xxxxxxxxxxxxxxx
> ---
> Documentation/driver-model/devres.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
> index 1525e30..91f5633 100644
> --- a/Documentation/driver-model/devres.txt
> +++ b/Documentation/driver-model/devres.txt
> @@ -234,7 +234,10 @@ certainly invest a bit more effort into libata core layer).
> -----------------------------
>
> MEM
> + devm_kmalloc()
> devm_kzalloc()
> + devm_kmalloc_array()
> + devm_kcalloc()
> devm_kfree()
> devm_kmemdup()
> devm_get_free_pages()
>


--
~Randy
--
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/