diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-10-11 10:49:18 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-14 20:47:07 -0400 |
commit | 99847b5c1b2de673052d8a0a089248b0dc5a37b2 (patch) | |
tree | 273e91aec69afcd7bb4d0efe0d03ab0a68a93854 /drivers/infiniband/hw/qedr | |
parent | 0089985e2505773f090e12fd59644b6adff4ed4f (diff) | |
download | op-kernel-dev-99847b5c1b2de673052d8a0a089248b0dc5a37b2.zip op-kernel-dev-99847b5c1b2de673052d8a0a089248b0dc5a37b2.tar.gz |
RDMA/qedr: Annotate iomem pointers correctly
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>
Diffstat (limited to 'drivers/infiniband/hw/qedr')
-rw-r--r-- | drivers/infiniband/hw/qedr/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qedr/main.c b/drivers/infiniband/hw/qedr/main.c index be282e4..50812b3 100644 --- a/drivers/infiniband/hw/qedr/main.c +++ b/drivers/infiniband/hw/qedr/main.c @@ -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; |