diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-10 22:15:46 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-11 00:52:47 +0300 |
commit | 32404fb76408e873d79d0723fda3207b18d235ad (patch) | |
tree | 1bb8c0cca980c559a151eb01921bdc979cb65a54 /drivers/infiniband/sw/rxe/rxe_verbs.h | |
parent | 046ef24d256bccc3767eb6feef1dbe07338fc5c5 (diff) | |
download | linux-32404fb76408e873d79d0723fda3207b18d235ad.tar.xz |
IB/rxe: Let the compiler check the type of the cleanup functions
Change the argument type of these functions from void * into
struct rxe_pool_entry *.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Andrew Boyer <andrew.boyer@dell.com>
Cc: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r-- | drivers/infiniband/sw/rxe/rxe_verbs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h index cac1d52a08f0..536974b69ed9 100644 --- a/drivers/infiniband/sw/rxe/rxe_verbs.h +++ b/drivers/infiniband/sw/rxe/rxe_verbs.h @@ -475,6 +475,6 @@ static inline struct rxe_mem *to_rmw(struct ib_mw *mw) int rxe_register_device(struct rxe_dev *rxe); int rxe_unregister_device(struct rxe_dev *rxe); -void rxe_mc_cleanup(void *arg); +void rxe_mc_cleanup(struct rxe_pool_entry *arg); #endif /* RXE_VERBS_H */ |