Skip to contentSkip to conversation

Documentation: devres: Add devm_kmalloc() et al

PATCH Superseded Daniel Thompson 3 participants 4 messages Jun 23, 2014 – Jul 3, 2014 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Cc Randy Dunlap <[email protected]>
Cc Grant Likely <[email protected]>
Cc Rob Herring <[email protected]>
Cc Joe Perches <[email protected]>
---
 Documentation/driver-model/devres.txt | 3 +++
 1 file changed, 3 insertions(+)
Documentation/driver-model/devres.txt +3 -0
index 1525e30..91f5633 100644
@@ -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()
Signature · 1 line
1.9.3
reviewer
#1 lore raw

[adding Tejun Heo]

patch OK, Tejun? You want to apply it?

Quoted 30 lines · Daniel Thompson

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.

Cc Randy Dunlap <[email protected]>
Cc Grant Likely <[email protected]>
Cc Rob Herring <[email protected]>
Cc Joe Perches <[email protected]>
---
 Documentation/driver-model/devres.txt | 3 +++
 1 file changed, 3 insertions(+)
Documentation/driver-model/devres.txt +3 -0
index 1525e30..91f5633 100644
@@ -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()
Signature · 1 line
~Randy
#2 lore raw
Quoted 3 lines · Randy Dunlap

[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.

Signature · 1 line
tejun
#3 lore raw

PATCH RESEND 1/1 Documentation: devres: Add devm_kmalloc() et al

In reply to Daniel Thompson

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.

Cc Randy Dunlap <[email protected]>
Cc Grant Likely <[email protected]>
Cc Rob Herring <[email protected]>
Cc Joe Perches <[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(+)
Documentation/driver-model/devres.txt +3 -0
index 1525e30..91f5633 100644
@@ -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()
Signature · 1 line
1.9.3