提交 99847b5c 编写于 作者: B Bart Van Assche 提交者: Doug Ledford

RDMA/qedr: Annotate iomem pointers correctly

Signed-off-by: NBart 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: NDoug Ledford <dledford@redhat.com>
上级 0089985e
...@@ -819,7 +819,7 @@ static int qedr_init_hw(struct qedr_dev *dev) ...@@ -819,7 +819,7 @@ static int qedr_init_hw(struct qedr_dev *dev)
if (rc) if (rc)
goto out; 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_phys_addr = out_params.dpi_phys_addr;
dev->db_size = out_params.dpi_size; dev->db_size = out_params.dpi_size;
dev->dpi = out_params.dpi; dev->dpi = out_params.dpi;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册