RDMA/qedr: Annotate iomem pointers correctly
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:49:18 +0000 (10:49 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 15 Oct 2017 00:47:07 +0000 (20:47 -0400)
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Ram Amrani <Ram.Amrani@cavium.com>
Cc: Michal Kalderon <Michal.Kalderon@cavium.com>
Cc: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/qedr/main.c

index be282e4915d811dc5f1bb2b28b4c40be404a1b14..50812b33291b827306613d58301c0df8c856e238 100644 (file)
@@ -819,7 +819,7 @@ static int qedr_init_hw(struct qedr_dev *dev)
        if (rc)
                goto out;
 
-       dev->db_addr = (void *)(uintptr_t)out_params.dpi_addr;
+       dev->db_addr = (void __iomem *)(uintptr_t)out_params.dpi_addr;
        dev->db_phys_addr = out_params.dpi_phys_addr;
        dev->db_size = out_params.dpi_size;
        dev->dpi = out_params.dpi;