2014-06-23 11:28:59

by Daniel Thompson

[permalink] [raw]
Subject: [PATCH] Documentation: devres: Add devm_kmalloc() et al

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 <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: [email protected]
---
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()
--
1.9.3


2014-06-29 01:31:15

by Randy Dunlap

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

[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 <[email protected]>
> Cc: Randy Dunlap <[email protected]>
> Cc: Grant Likely <[email protected]>
> Cc: Rob Herring <[email protected]>
> Cc: Joe Perches <[email protected]>
> Cc: [email protected]
> ---
> 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

2014-07-01 20:55:09

by Tejun Heo

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

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.

--
tejun

2014-07-03 09:05:24

by Daniel Thompson

[permalink] [raw]
Subject: [RESEND PATCH] Documentation: devres: Add devm_kmalloc() et al

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 <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Joe Perches <[email protected]>
Acked-by: Tejun Heo <[email protected]>
---

Notes:
Greg: Tejun acked this and suggested that it should go via
driver-core-next.

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