diff mbox series

[6/8] block: Fix bsg_setup_queue() kernel-doc header

Message ID 20190531000053.64053-7-bvanassche@acm.org (mailing list archive)
State New, archived
Headers show
Series Improve block layer function documentation | expand

Commit Message

Bart Van Assche May 31, 2019, midnight UTC
Document all bsg_setup_queue() arguments as required.

Fixes: aae3b069d5ce ("bsg: pass in desired timeout handler") # v5.0.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
 block/bsg-lib.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Chaitanya Kulkarni May 31, 2019, 2:02 a.m. UTC | #1
Looks good.

Reviewed-by: Chaitanya Kulkarni <chiatanya.kulkarni@wdc.com>

On 5/30/19 5:01 PM, Bart Van Assche wrote:
> Document all bsg_setup_queue() arguments as required.
> 
> Fixes: aae3b069d5ce ("bsg: pass in desired timeout handler") # v5.0.
> Signed-off-by: Bart Van Assche <bvanassche@acm.org>
> ---
>   block/bsg-lib.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/block/bsg-lib.c b/block/bsg-lib.c
> index b898a1cdf872..785dd58947f1 100644
> --- a/block/bsg-lib.c
> +++ b/block/bsg-lib.c
> @@ -354,6 +354,7 @@ static const struct blk_mq_ops bsg_mq_ops = {
>    * @dev: device to attach bsg device to
>    * @name: device to give bsg device
>    * @job_fn: bsg job handler
> + * @timeout: timeout handler function pointer
>    * @dd_job_size: size of LLD data needed for each job
>    */
>   struct request_queue *bsg_setup_queue(struct device *dev, const char *name,
>
diff mbox series

Patch

diff --git a/block/bsg-lib.c b/block/bsg-lib.c
index b898a1cdf872..785dd58947f1 100644
--- a/block/bsg-lib.c
+++ b/block/bsg-lib.c
@@ -354,6 +354,7 @@  static const struct blk_mq_ops bsg_mq_ops = {
  * @dev: device to attach bsg device to
  * @name: device to give bsg device
  * @job_fn: bsg job handler
+ * @timeout: timeout handler function pointer
  * @dd_job_size: size of LLD data needed for each job
  */
 struct request_queue *bsg_setup_queue(struct device *dev, const char *name,