diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2013-03-04 17:32:54 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-12 23:42:09 -0400 |
commit | 5857f70c8a62377c2304d8ad27e579881728fc5a (patch) | |
tree | 81b82656af2594c4f204f36fa4071dfb2c0dc35c | |
parent | a3633f6730239e7d39316aeb119c1bb9e1e83d66 (diff) |
idr: fix new kernel-doc warnings
Fix new kernel-doc warnings in idr:
Warning(include/linux/idr.h:113): No description found for parameter 'idr'
Warning(include/linux/idr.h:113): Excess function parameter 'idp' description in 'idr_find'
Warning(lib/idr.c:232): Excess function parameter 'id' description in 'sub_alloc'
Warning(lib/idr.c:232): Excess function parameter 'id' description in 'sub_alloc'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/idr.h | 2 | ||||
-rw-r--r-- | lib/idr.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/idr.h b/include/linux/idr.h index a6f38b5c34e4..8c1f81f823c8 100644 --- a/include/linux/idr.h +++ b/include/linux/idr.h | |||
@@ -99,7 +99,7 @@ static inline void idr_preload_end(void) | |||
99 | 99 | ||
100 | /** | 100 | /** |
101 | * idr_find - return pointer for given id | 101 | * idr_find - return pointer for given id |
102 | * @idp: idr handle | 102 | * @idr: idr handle |
103 | * @id: lookup key | 103 | * @id: lookup key |
104 | * | 104 | * |
105 | * Return the pointer given the id it has been registered with. A %NULL | 105 | * Return the pointer given the id it has been registered with. A %NULL |
@@ -214,7 +214,6 @@ EXPORT_SYMBOL(idr_pre_get); | |||
214 | * sub_alloc - try to allocate an id without growing the tree depth | 214 | * sub_alloc - try to allocate an id without growing the tree depth |
215 | * @idp: idr handle | 215 | * @idp: idr handle |
216 | * @starting_id: id to start search at | 216 | * @starting_id: id to start search at |
217 | * @id: pointer to the allocated handle | ||
218 | * @pa: idr_layer[MAX_IDR_LEVEL] used as backtrack buffer | 217 | * @pa: idr_layer[MAX_IDR_LEVEL] used as backtrack buffer |
219 | * @gfp_mask: allocation mask for idr_layer_alloc() | 218 | * @gfp_mask: allocation mask for idr_layer_alloc() |
220 | * @layer_idr: optional idr passed to idr_layer_alloc() | 219 | * @layer_idr: optional idr passed to idr_layer_alloc() |