From: Bart Van Assche Date: Wed, 11 Oct 2017 17:49:18 +0000 (-0700) Subject: RDMA/qedr: Annotate iomem pointers correctly X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=99847b5c1b2de673052d8a0a089248b0dc5a37b2;p=openwrt%2Fstaging%2Fblogic.git RDMA/qedr: Annotate iomem pointers correctly Signed-off-by: Bart Van Assche Cc: Ram Amrani Cc: Michal Kalderon Cc: Ariel Elior Signed-off-by: Doug Ledford --- 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;