diff options
author | Naohiro Aota <naota@elisp.net> | 2010-08-30 11:37:03 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-08-31 03:32:02 -0400 |
commit | ea24ea850bcd7dd5f0994de2cf99ace10c4484cc (patch) | |
tree | e7380a9077841a8a7ed7246cd85a3d55c1d2929a /lib | |
parent | 10466f5ae36074bb620e4add1247fbf78ee564c0 (diff) |
idr: fix kernel-doc warnings.
Fix the following kernel-doc warnings.
% perl scripts/kernel-doc lib/idr.c > /dev/null
Warning(lib/idr.c:300): No description found for parameter 'starting_id'
Warning(lib/idr.c:300): Excess function parameter 'start_id' description in 'idr_get_new_above'
Warning(lib/idr.c:485): No description found for parameter 'idp'
Warning(lib/idr.c:596): No description found for parameter 'nextidp'
Warning(lib/idr.c:596): Excess function parameter 'id' description in 'idr_get_next'
Warning(lib/idr.c:774): No description found for parameter 'starting_id'
Warning(lib/idr.c:774): Excess function parameter 'staring_id' description in 'ida_get_new_above'
Warning(lib/idr.c:918): No description found for parameter 'ida'
Signed-off-by: Naohiro Aota <naota@elisp.net>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/idr.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -284,7 +284,7 @@ static int idr_get_new_above_int(struct idr *idp, void *ptr, int starting_id) | |||
284 | * idr_get_new_above - allocate new idr entry above or equal to a start id | 284 | * idr_get_new_above - allocate new idr entry above or equal to a start id |
285 | * @idp: idr handle | 285 | * @idp: idr handle |
286 | * @ptr: pointer you want associated with the id | 286 | * @ptr: pointer you want associated with the id |
287 | * @start_id: id to start search at | 287 | * @starting_id: id to start search at |
288 | * @id: pointer to the allocated handle | 288 | * @id: pointer to the allocated handle |
289 | * | 289 | * |
290 | * This is the allocate id function. It should be called with any | 290 | * This is the allocate id function. It should be called with any |
@@ -479,7 +479,7 @@ EXPORT_SYMBOL(idr_remove_all); | |||
479 | 479 | ||
480 | /** | 480 | /** |
481 | * idr_destroy - release all cached layers within an idr tree | 481 | * idr_destroy - release all cached layers within an idr tree |
482 | * idp: idr handle | 482 | * @idp: idr handle |
483 | */ | 483 | */ |
484 | void idr_destroy(struct idr *idp) | 484 | void idr_destroy(struct idr *idp) |
485 | { | 485 | { |
@@ -586,7 +586,7 @@ EXPORT_SYMBOL(idr_for_each); | |||
586 | /** | 586 | /** |
587 | * idr_get_next - lookup next object of id to given id. | 587 | * idr_get_next - lookup next object of id to given id. |
588 | * @idp: idr handle | 588 | * @idp: idr handle |
589 | * @id: pointer to lookup key | 589 | * @nextidp: pointer to lookup key |
590 | * | 590 | * |
591 | * Returns pointer to registered object with id, which is next number to | 591 | * Returns pointer to registered object with id, which is next number to |
592 | * given id. | 592 | * given id. |
@@ -758,7 +758,7 @@ EXPORT_SYMBOL(ida_pre_get); | |||
758 | /** | 758 | /** |
759 | * ida_get_new_above - allocate new ID above or equal to a start id | 759 | * ida_get_new_above - allocate new ID above or equal to a start id |
760 | * @ida: ida handle | 760 | * @ida: ida handle |
761 | * @staring_id: id to start search at | 761 | * @starting_id: id to start search at |
762 | * @p_id: pointer to the allocated handle | 762 | * @p_id: pointer to the allocated handle |
763 | * | 763 | * |
764 | * Allocate new ID above or equal to @ida. It should be called with | 764 | * Allocate new ID above or equal to @ida. It should be called with |
@@ -912,7 +912,7 @@ EXPORT_SYMBOL(ida_remove); | |||
912 | 912 | ||
913 | /** | 913 | /** |
914 | * ida_destroy - release all cached layers within an ida tree | 914 | * ida_destroy - release all cached layers within an ida tree |
915 | * ida: ida handle | 915 | * @ida: ida handle |
916 | */ | 916 | */ |
917 | void ida_destroy(struct ida *ida) | 917 | void ida_destroy(struct ida *ida) |
918 | { | 918 | { |