Skip to contentSkip to conversation

block: fix blk-settings kernel-doc warning

PATCH In review Randy Dunlap 2 participants 2 messages Jun 19, 2009 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: fix blk-settings kernel-doc warning

From: Randy Dunlap <[email protected]>

Fix kernel-doc parameter name typo in blk-settings.c:

Warning(block/blk-settings.c:108): No description found for parameter 'lim' Warning(block/blk-settings.c:108): Excess function parameter 'limits' description in 'blk_set_default_limits'

---
 block/blk-settings.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-settings.c +1 -1
@@ -97,7 +97,7 @@ EXPORT_SYMBOL_GPL(blk_queue_lld_busy);
 
 /**
  * blk_set_default_limits - reset limits to default values
- * @limits:  the queue_limits structure to reset
+ * @lim:  the queue_limits structure to reset
  *
  * Description:
  *   Returns a queue_limit struct to its default state.  Can be used by
Signature · 3 lines
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
#1 lore raw
Quoted 6 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Fix kernel-doc parameter name typo in blk-settings.c:

Warning(block/blk-settings.c:108): No description found for parameter 'lim' Warning(block/blk-settings.c:108): Excess function parameter 'limits' description in 'blk_set_default_limits'

Thanks Randy, applied.

Signature · 1 line
Jens Axboe