RDMA/rdmavt: Fix rvt_create_ah function signature
authorKamal Heib <kamalheib1@gmail.com>
Thu, 15 Nov 2018 17:49:38 +0000 (09:49 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:28:50 +0000 (09:28 +0100)
commita625d3e3ce05d05f8f2e1e5d4546d12c94feec4d
tree79dc3ec4c7e96aca73d45934012696b893434fe5
parent9692eefbee777b18e22998f0dc2852cf8f34174e
RDMA/rdmavt: Fix rvt_create_ah function signature

[ Upstream commit 4f32fb921b153ae9ea280e02a3e91509fffc03d3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/sw/rdmavt/ah.c
drivers/infiniband/sw/rdmavt/ah.h