diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2015-07-09 07:24:27 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Odin.com> | 2015-08-26 10:41:33 -0700 |
commit | 118e2ef9df2297147706d21d2a1dfeefea878c5a (patch) | |
tree | 0573746810cb53208aa51d41856c8d9459d15cb6 /drivers/scsi/qla2xxx/qla_init.c | |
parent | ad950360eebb5f5f7610b13cfd08c0185ca3f146 (diff) | |
download | lwn-118e2ef9df2297147706d21d2a1dfeefea878c5a.tar.gz lwn-118e2ef9df2297147706d21d2a1dfeefea878c5a.zip |
qla2xxx: Avoid that sparse complains about duplicate [noderef] attributes
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index ceced7ff8083..5a5ca43e5e90 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -2085,7 +2085,7 @@ void qla24xx_config_rings(struct scsi_qla_host *vha) { struct qla_hw_data *ha = vha->hw; - device_reg_t __iomem *reg = ISP_QUE_REG(ha, 0); + device_reg_t *reg = ISP_QUE_REG(ha, 0); struct device_reg_2xxx __iomem *ioreg = &ha->iobase->isp; struct qla_msix_entry *msix; struct init_cb_24xx *icb; |