]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf911f3db00f2a4d5ef4cbdbf2b2126b110cca4f
tree1c678aa0f4315a18bcc429024d8ec936c0bc35d8
parent6fc52560b3c50e8661e10cfbdef1c1d8ed08c1bb
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: 64aca20d23ea ("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