Skip to content

Commit

Permalink
block: Fix blk_mq_*_map_queues() kernel-doc headers
Browse files Browse the repository at this point in the history
This patch avoids that the kernel-doc script complains about these
function headers when building with W=1.

Cc: Hannes Reinecke <[email protected]>
Cc: Keith Busch <[email protected]>
Fixes: ed76e32 ("blk-mq: abstract out queue map") # v5.0.
Fixes: e42b386 ("blk-mq-rdma: pass in queue map to blk_mq_rdma_map_queues") # v5.0.
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
bvanassche authored and axboe committed May 31, 2019
1 parent 216382d commit 0542cd5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion block/blk-mq-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

/**
* blk_mq_pci_map_queues - provide a default queue mapping for PCI device
* @set: tagset to provide the mapping for
* @qmap: CPU to hardware queue map.
* @pdev: PCI device associated with @set.
* @offset: Offset to use for the pci irq vector
*
Expand Down
4 changes: 2 additions & 2 deletions block/blk-mq-rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

/**
* blk_mq_rdma_map_queues - provide a default queue mapping for rdma device
* @set: tagset to provide the mapping for
* @dev: rdma device associated with @set.
* @map: CPU to hardware queue map.
* @dev: rdma device to provide a mapping for.
* @first_vec: first interrupt vectors to use for queues (usually 0)
*
* This function assumes the rdma device @dev has at least as many available
Expand Down
4 changes: 2 additions & 2 deletions block/blk-mq-virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

/**
* blk_mq_virtio_map_queues - provide a default queue mapping for virtio device
* @set: tagset to provide the mapping for
* @vdev: virtio device associated with @set.
* @qmap: CPU to hardware queue map.
* @vdev: virtio device to provide a mapping for.
* @first_vec: first interrupt vectors to use for queues (usually 0)
*
* This function assumes the virtio device @vdev has at least as many available
Expand Down

0 comments on commit 0542cd5

Please sign in to comment.