Skip to contentSkip to conversation

docbook: add idr/ida to kernel-api docbook

PATCH In review Randy Dunlap 3 participants 4 messages Sep 14, 2010 – Sep 15, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docbook: add idr/ida to kernel-api docbook

From: Randy Dunlap <[email protected]>

Add idr/ida to kernel-api docbook.
Fix typos and kernel-doc notation.

Includes idr patches from Naohiro Aota <[email protected]> (for completeness only; will wait for those to be merged via the trivial tree).

Cc Tejun Heo <[email protected]>
Cc Naohiro Aota <[email protected]>
Cc Jiri Kosina <[email protected]>
---
 Documentation/DocBook/kernel-api.tmpl |    6 ++
 include/linux/idr.h                   |    1 
 lib/idr.c                             |   62 ++++++++++++------------
 3 files changed, 39 insertions(+), 30 deletions(-)
Documentation/DocBook/kernel-api.tmpl +6 -0
@@ -93,6 +93,12 @@ X!Ilib/string.c
 !Elib/crc32.c
 !Elib/crc-ccitt.c
      </sect1>
+
+     <sect1 id="idr"><title>idr/ida Functions</title>
+!Pinclude/linux/idr.h idr sync
+!Plib/idr.c IDA description
+!Elib/idr.c
+     </sect1>
   </chapter>
 
   <chapter id="mm">
include/linux/idr.h +1 -0
@@ -81,6 +81,7 @@ struct idr {
 #define _idr_rc_to_errno(rc) ((rc) == -1 ? -EAGAIN : -ENOSPC)
 
 /**
+ * DOC: idr sync
  * idr synchronization (stolen from radix-tree.h)
  *
  * idr_find() is able to be called locklessly, using RCU. The caller must
lib/idr.c +32 -30

174 lines not on this page · raw message

Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Add idr/ida to kernel-api docbook.
Fix typos and kernel-doc notation.

Quoted 7 lines

Includes idr patches from Naohiro Aota <[email protected]> (for completeness only; will wait for those to be merged via the trivial tree).

Cc Tejun Heo <[email protected]>
Cc Naohiro Aota <[email protected]>
Cc Jiri Kosina <[email protected]>

Thank you.

Signature · 1 line
tejun
#2 lore raw
Quoted 9 lines · Tejun Heo
Quoted 8 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Add idr/ida to kernel-api docbook.
Fix typos and kernel-doc notation.

Includes idr patches from Naohiro Aota <[email protected]> (for completeness only; will wait for those to be merged via the trivial tree).

Quoted 8 lines
Quoted 4 lines
Cc Tejun Heo <[email protected]>
Cc Naohiro Aota <[email protected]>
Cc Jiri Kosina <[email protected]>

Thank you.

What is this based on? As it doesn't apply on top of current Linus' tree, I will probably not be taking it throgh trivial queue, ok?

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs, Novell Inc.
#3 lore raw
Quoted 16 lines · On Wed, 15 Sep 2010 16:57:36 +0200 (CEST) Jiri Kosina wrote:
Quoted 14 lines · Tejun Heo
Quoted 12 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Add idr/ida to kernel-api docbook.
Fix typos and kernel-doc notation.

Includes idr patches from Naohiro Aota <[email protected]> (for completeness only; will wait for those to be merged via the trivial tree).

Cc Tejun Heo <[email protected]>
Cc Naohiro Aota <[email protected]>
Cc Jiri Kosina <[email protected]>
Quoted 6 lines
Quoted 3 lines

Thank you.

What is this based on? As it doesn't apply on top of current Linus' tree, I will probably not be taking it throgh trivial queue, ok?

It is based on 2.6.36-rc4, with Naohiro's patches applied by hand.

I'll merge it later (after your next trivial merge, I guess). Thanks.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***