Skip to contentSkip to conversation

block: fix blk-core.c kernel-doc warning

PATCH In review Randy Dunlap 2 participants 2 messages Oct 31, 2015 – Nov 2, 2015 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 block: fix blk-core.c kernel-doc warning

From: Randy Dunlap <[email protected]>

Fix kernel-doc warning in blk-core.c:

Warning(..//block/blk-core.c:1549): No description found for parameter 'same_queue_rq'

Cc Jeff Moyer <[email protected]>
Cc Jens Axboe <[email protected]>
---
 block/blk-core.c |    3 +++
 1 file changed, 3 insertions(+)
block/blk-core.c +3 -0
@@ -1529,6 +1529,9 @@ bool bio_attempt_front_merge(struct requ
  * @q: request_queue new bio is being queued at
  * @bio: new bio being queued
  * @request_count: out parameter for number of traversed plugged requests
+ * @same_queue_rq: pointer to &struct request that gets filled in when
+ * another request associated with @q is found on the plug list
+ * (optional, may be %NULL)
  *
  * Determine whether @bio being queued on @q can be merged with a request
  * on %current's plugged list.  Returns %true if merge was successful,
Reviewed-by on v2 1/1
#1 lore raw
Quoted 9 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

Fix kernel-doc warning in blk-core.c:

Warning(..//block/blk-core.c:1549): No description found for parameter 'same_queue_rq'

Cc Jeff Moyer <[email protected]>
Cc Jens Axboe <[email protected]>

Thanks, Randy.

Quoted 16 lines
---
 block/blk-core.c |    3 +++
 1 file changed, 3 insertions(+)
block/blk-core.c +3 -0
@@ -1529,6 +1529,9 @@ bool bio_attempt_front_merge(struct requ
  * @q: request_queue new bio is being queued at
  * @bio: new bio being queued
  * @request_count: out parameter for number of traversed plugged requests
+ * @same_queue_rq: pointer to &struct request that gets filled in when
+ * another request associated with @q is found on the plug list
+ * (optional, may be %NULL)
  *
  * Determine whether @bio being queued on @q can be merged with a request
  * on %current's plugged list.  Returns %true if merge was successful,