diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2012-11-21 08:40:29 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-30 12:14:10 +0100 |
commit | fa4926306a8ea67a1cdd4f6b3407a23653dab0d2 (patch) | |
tree | 31e10e9398ed655f8229a455207831c854ac652a /drivers/scsi/qla2xxx/qla_def.h | |
parent | [SCSI] qla2xxx: Honor status value of 2 for report-id acquisition. (diff) | |
download | linux-fa4926306a8ea67a1cdd4f6b3407a23653dab0d2.tar.xz linux-fa4926306a8ea67a1cdd4f6b3407a23653dab0d2.zip |
[SCSI] qla2xxx: Fix for warnings reported by sparse.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index a9725bf5527b..6e7727f46d43 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h @@ -2486,9 +2486,9 @@ struct bidi_statistics { #define QLA_MAX_QUEUES 256 #define ISP_QUE_REG(ha, id) \ ((ha->mqenable || IS_QLA83XX(ha)) ? \ - ((void *)(ha->mqiobase) +\ + ((device_reg_t __iomem *)(ha->mqiobase) +\ (QLA_QUE_PAGE * id)) :\ - ((void *)(ha->iobase))) + ((device_reg_t __iomem *)(ha->iobase))) #define QLA_REQ_QUE_ID(tag) \ ((tag < QLA_MAX_QUEUES && tag > 0) ? tag : 0) #define QLA_DEFAULT_QUE_QOS 5 |