mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
scsi: smartpqi: Use HCTX_TYPE_DEFAULT for blk_mq_tag_set->map
Use HCTX_TYPE_DEFAULT instead of 0 to avoid hardcoding. Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
485b0eca89
commit
79d3fa9ea7
1 changed files with 1 additions and 1 deletions
|
@ -5792,7 +5792,7 @@ static int pqi_map_queues(struct Scsi_Host *shost)
|
|||
{
|
||||
struct pqi_ctrl_info *ctrl_info = shost_to_hba(shost);
|
||||
|
||||
return blk_mq_pci_map_queues(&shost->tag_set.map[0],
|
||||
return blk_mq_pci_map_queues(&shost->tag_set.map[HCTX_TYPE_DEFAULT],
|
||||
ctrl_info->pci_dev, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue