diff mbox

Documentation: devres: Add devm_kmalloc() et al

Message ID 1403522918-16509-1-git-send-email-daniel.thompson@linaro.org
State Superseded
Headers show

Commit Message

Daniel Thompson June 23, 2014, 11:28 a.m. UTC
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@linaro.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: linux-doc@vger.kernel.org
---
 Documentation/driver-model/devres.txt | 3 +++
 1 file changed, 3 insertions(+)

Comments

Randy Dunlap June 29, 2014, 1:31 a.m. UTC | #1
[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@linaro.org>
> Cc: Randy Dunlap <rdunlap@infradead.org>
> Cc: Grant Likely <grant.likely@linaro.org>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Joe Perches <joe@perches.com>
> Cc: linux-doc@vger.kernel.org
> ---
>  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()
>
Tejun Heo July 1, 2014, 8:55 p.m. UTC | #2
On Sat, Jun 28, 2014 at 06:31:00PM -0700, Randy Dunlap wrote:
> [adding Tejun Heo]
> 
> patch OK, Tejun?  You want to apply it?

Yeah, looks good to me but it prolly should go through Greg's
driver-core-next.  Daniel, do you mind reposting it to Greg with my
ack added?

Thanks.
diff mbox

Patch

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()