RDMA/rxe: Fix mismatched type declarations
authorDaisuke Matsuda <matsuda-daisuke@fujitsu.com>
Wed, 9 Apr 2025 10:27:01 +0000 (19:27 +0900)
committerLeon Romanovsky <leon@kernel.org>
Fri, 11 Apr 2025 17:45:07 +0000 (13:45 -0400)
commit29610226c33ffee687dedfdf1f19cbb2b117e9e7
tree7ae646457f537c5fb08712590659a8f8b87d3694
parent9334003d1335b1d086334f946eab158503487e58
RDMA/rxe: Fix mismatched type declarations

Some functions return int values while they are defined as enum resp_states
variables. This patch resolves the mismatches in rxe.

Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Link: https://patch.msgid.link/20250409102701.1275265-1-matsuda-daisuke@fujitsu.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_mr.c
drivers/infiniband/sw/rxe/rxe_odp.c