RDMA/erdma: Eliminate unnecessary casting for erdma_post_cmd_wait
authorCheng Xu <chengyou@linux.alibaba.com>
Fri, 9 Sep 2022 09:38:19 +0000 (17:38 +0800)
committerLeon Romanovsky <leon@kernel.org>
Tue, 20 Sep 2022 11:27:51 +0000 (14:27 +0300)
commit95f911d94995861311d78c77acb91af1ad6b8cc5
treedb54d0230849b0ad6e221457489d7e71746adeb5
parent6dbe4a8dead84de474483910b02ec9e6a10fc1a9
RDMA/erdma: Eliminate unnecessary casting for erdma_post_cmd_wait

erdma_post_cmd_wait does not use the 'u64 *req' input parameter directly.
So it is better to define it to 'void *req', and by this we can eliminate
the casting when calling erdma_post_cmd_wait.

Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20220909093822.33868-2-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma.h
drivers/infiniband/hw/erdma/erdma_cmdq.c
drivers/infiniband/hw/erdma/erdma_eq.c
drivers/infiniband/hw/erdma/erdma_qp.c
drivers/infiniband/hw/erdma/erdma_verbs.c