Commit 5857f70c authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

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: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a3633f67
...@@ -99,7 +99,7 @@ static inline void idr_preload_end(void) ...@@ -99,7 +99,7 @@ static inline void idr_preload_end(void)
/** /**
* idr_find - return pointer for given id * idr_find - return pointer for given id
* @idp: idr handle * @idr: idr handle
* @id: lookup key * @id: lookup key
* *
* Return the pointer given the id it has been registered with. A %NULL * Return the pointer given the id it has been registered with. A %NULL
......
...@@ -214,7 +214,6 @@ EXPORT_SYMBOL(idr_pre_get); ...@@ -214,7 +214,6 @@ EXPORT_SYMBOL(idr_pre_get);
* sub_alloc - try to allocate an id without growing the tree depth * sub_alloc - try to allocate an id without growing the tree depth
* @idp: idr handle * @idp: idr handle
* @starting_id: id to start search at * @starting_id: id to start search at
* @id: pointer to the allocated handle
* @pa: idr_layer[MAX_IDR_LEVEL] used as backtrack buffer * @pa: idr_layer[MAX_IDR_LEVEL] used as backtrack buffer
* @gfp_mask: allocation mask for idr_layer_alloc() * @gfp_mask: allocation mask for idr_layer_alloc()
* @layer_idr: optional idr passed to idr_layer_alloc() * @layer_idr: optional idr passed to idr_layer_alloc()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment