]> git.baikalelectronics.ru Git - kernel.git/commit
block: Change the return type of blk_mq_map_queues() into void
authorBart Van Assche <bvanassche@acm.org>
Mon, 15 Aug 2022 17:00:43 +0000 (10:00 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Aug 2022 16:07:53 +0000 (10:07 -0600)
commita4e1d0b76e7b32c0839e72679c530445172a2564
treecdb61b21f077be9e0ace4ebdb8dc6aa5163c8d97
parent10b41ea15e81a5597bc5944a7900e9a790bd984a
block: Change the return type of blk_mq_map_queues() into void

Since blk_mq_map_queues() and the .map_queues() callbacks always return 0,
change their return type into void. Most callers ignore the returned value
anyway.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Keith Busch <kbusch@kernel.org>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Doug Gilbert <dgilbert@interlog.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.garry@huawei.com>
Acked-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Link: https://lore.kernel.org/r/20220815170043.19489-3-bvanassche@acm.org
[axboe: fold in fix from Bart]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
30 files changed:
block/blk-mq-cpumap.c
block/blk-mq-pci.c
block/blk-mq-rdma.c
block/blk-mq-virtio.c
block/blk-mq.c
drivers/block/null_blk/main.c
drivers/block/rnbd/rnbd-clt.c
drivers/block/virtio_blk.c
drivers/nvme/host/fc.c
drivers/nvme/host/pci.c
drivers/nvme/host/rdma.c
drivers/nvme/host/tcp.c
drivers/scsi/hisi_sas/hisi_sas_v2_hw.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
drivers/scsi/megaraid/megaraid_sas_base.c
drivers/scsi/mpi3mr/mpi3mr_os.c
drivers/scsi/mpt3sas/mpt3sas_scsih.c
drivers/scsi/pm8001/pm8001_init.c
drivers/scsi/qla2xxx/qla_nvme.c
drivers/scsi/qla2xxx/qla_os.c
drivers/scsi/scsi_debug.c
drivers/scsi/scsi_lib.c
drivers/scsi/smartpqi/smartpqi_init.c
drivers/scsi/virtio_scsi.c
drivers/ufs/core/ufshcd.c
include/linux/blk-mq-pci.h
include/linux/blk-mq-rdma.h
include/linux/blk-mq-virtio.h
include/linux/blk-mq.h
include/scsi/scsi_host.h