Skip to content

Commit

Permalink
idr: fix new kernel-doc warnings
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rddunlap authored and torvalds committed Mar 13, 2013
1 parent a3633f6 commit 5857f70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion include/linux/idr.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static inline void idr_preload_end(void)

/**
* idr_find - return pointer for given id
* @idp: idr handle
* @idr: idr handle
* @id: lookup key
*
* Return the pointer given the id it has been registered with. A %NULL
Expand Down
1 change: 0 additions & 1 deletion lib/idr.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ EXPORT_SYMBOL(idr_pre_get);
* sub_alloc - try to allocate an id without growing the tree depth
* @idp: idr handle
* @starting_id: id to start search at
* @id: pointer to the allocated handle
* @pa: idr_layer[MAX_IDR_LEVEL] used as backtrack buffer
* @gfp_mask: allocation mask for idr_layer_alloc()
* @layer_idr: optional idr passed to idr_layer_alloc()
Expand Down

0 comments on commit 5857f70

Please sign in to comment.