OSDN Git Service

block: Fix blk_mq_*_map_queues() kernel-doc headers
authorBart Van Assche <bvanassche@acm.org>
Fri, 31 May 2019 00:00:49 +0000 (17:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 31 May 2019 21:12:34 +0000 (15:12 -0600)
This patch avoids that the kernel-doc script complains about these
function headers when building with W=1.

Cc: Hannes Reinecke <hare@suse.com>
Cc: Keith Busch <keith.busch@intel.com>
Fixes: ed76e329d74a ("blk-mq: abstract out queue map") # v5.0.
Fixes: e42b3867de4b ("blk-mq-rdma: pass in queue map to blk_mq_rdma_map_queues") # v5.0.
Reviewed-by: Chaitanya Kulkarni <chiatanya.kulkarni@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-pci.c
block/blk-mq-rdma.c
block/blk-mq-virtio.c

index ad4545a..b595a94 100644 (file)
@@ -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
  *
index cc921e6..14f968e 100644 (file)
@@ -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
index 75a52c1..4883416 100644 (file)
@@ -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