RDMA/rdmavt: Fix rvt_create_ah function signature
authorKamal Heib <kamalheib1@gmail.com>
Thu, 15 Nov 2018 17:49:38 +0000 (09:49 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Nov 2018 22:55:32 +0000 (15:55 -0700)
commit4f32fb921b153ae9ea280e02a3e91509fffc03d3
tree1c678aa0f4315a18bcc429024d8ec936c0bc35d8
parentdb7a691a1551a748cb92d9c89c6b190ea87e28d5
RDMA/rdmavt: Fix rvt_create_ah function signature

rdmavt uses a crazy system that looses the type checking when assinging
functions to struct ib_device function pointers. Because of this the
signature to this function was not changed when the below commit revised
things.

Fix the signature so we are not calling a function pointer with a
mismatched signature.

Fixes: 477864c8fcd9 ("IB/core: Let create_ah return extended response to user")
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rdmavt/ah.c
drivers/infiniband/sw/rdmavt/ah.h