]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
qla2xxx: Avoid that sparse complains about duplicate [noderef] attributes
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 9 Jul 2015 14:24:27 +0000 (07:24 -0700)
committerDan Duval <dan.duval@oracle.com>
Thu, 15 Oct 2015 21:38:00 +0000 (17:38 -0400)
Orabug: 21946579

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>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/scsi/qla2xxx/qla_dbg.c
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_iocb.c

index cf3f84e404259bb174fce42d64678da86656e3c4..055eb3ea439b1278f3e8f0eec92c5d65cbdce477 100644 (file)
@@ -627,7 +627,7 @@ qla25xx_copy_mq(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain)
        uint32_t cnt, que_idx;
        uint8_t que_cnt;
        struct qla2xxx_mq_chain *mq = ptr;
-       device_reg_t __iomem *reg;
+       device_reg_t *reg;
 
        if (!ha->mqenable || IS_QLA83XX(ha) || IS_QLA27XX(ha))
                return ptr;
index 9d74399ebafa41afe0cbb47f67cdcc97e2b9ea58..8ff3e9851752eea06c56583610b7245284fafc24 100644 (file)
@@ -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;
index a543f18c355fd6ae76683e8b085c786356b0a3a8..01b331428aaa87d6983783bd4db94b922c2a19b2 100644 (file)
@@ -451,7 +451,7 @@ void
 qla2x00_start_iocbs(struct scsi_qla_host *vha, struct req_que *req)
 {
        struct qla_hw_data *ha = vha->hw;
-       device_reg_t __iomem *reg = ISP_QUE_REG(ha, req->id);
+       device_reg_t *reg = ISP_QUE_REG(ha, req->id);
 
        if (IS_P3P_TYPE(ha)) {
                qla82xx_start_iocbs(vha);
@@ -1802,7 +1802,7 @@ qla2x00_alloc_iocbs(scsi_qla_host_t *vha, srb_t *sp)
 {
        struct qla_hw_data *ha = vha->hw;
        struct req_que *req = ha->req_q_map[0];
-       device_reg_t __iomem *reg = ISP_QUE_REG(ha, req->id);
+       device_reg_t *reg = ISP_QUE_REG(ha, req->id);
        uint32_t index, handle;
        request_t *pkt;
        uint16_t cnt, req_cnt;