projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6343e3e
)
scsi: qla2xxx: Use HCTX_TYPE_DEFAULT for blk_mq_tag_set->map
author
Dongli Zhang
<dongli.zhang@oracle.com>
Tue, 12 Mar 2019 01:00:30 +0000
(09:00 +0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 19 Mar 2019 19:29:10 +0000
(15:29 -0400)
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>
drivers/scsi/qla2xxx/qla_os.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_os.c
b/drivers/scsi/qla2xxx/qla_os.c
index d2bad3f99ce2bd71a5492ad3fe8d3927dbb4c866..b6f37b651bca8608a208e1422da060d4e0c04342 100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_os.c
+++ b/
drivers/scsi/qla2xxx/qla_os.c
@@
-7253,7
+7253,7
@@
static int qla2xxx_map_queues(struct Scsi_Host *shost)
{
int rc;
scsi_qla_host_t *vha = (scsi_qla_host_t *)shost->hostdata;
- struct blk_mq_queue_map *qmap = &shost->tag_set.map[
0
];
+ struct blk_mq_queue_map *qmap = &shost->tag_set.map[
HCTX_TYPE_DEFAULT
];
if (USER_CTRL_IRQ(vha->hw) || !vha->hw->mqiobase)
rc = blk_mq_map_queues(qmap);