diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2017-10-11 19:49:18 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-15 02:47:07 +0200 |
commit | 99847b5c1b2de673052d8a0a089248b0dc5a37b2 (patch) | |
tree | 273e91aec69afcd7bb4d0efe0d03ab0a68a93854 /drivers/infiniband/hw/qedr | |
parent | RDMA/qedr: Declare local functions static (diff) | |
download | linux-99847b5c1b2de673052d8a0a089248b0dc5a37b2.tar.xz linux-99847b5c1b2de673052d8a0a089248b0dc5a37b2.zip |
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 be282e4915d8..50812b33291b 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; |