We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16c44d3 commit 62f02d3Copy full SHA for 62f02d3
drivers/scsi/qla2xxx/qla_os.c
@@ -6610,9 +6610,14 @@ qla83xx_disable_laser(scsi_qla_host_t *vha)
6610
6611
static int qla2xxx_map_queues(struct Scsi_Host *shost)
6612
{
6613
+ int rc;
6614
scsi_qla_host_t *vha = (scsi_qla_host_t *)shost->hostdata;
6615
- return blk_mq_pci_map_queues(&shost->tag_set, vha->hw->pdev);
6616
+ if (USER_CTRL_IRQ(vha->hw))
6617
+ rc = blk_mq_map_queues(&shost->tag_set);
6618
+ else
6619
+ rc = blk_mq_pci_map_queues(&shost->tag_set, vha->hw->pdev);
6620
+ return rc;
6621
}
6622
6623
static const struct pci_error_handlers qla2xxx_err_handler = {
0 commit comments