RDMA/rvt: Do not use a kernel header in the ABI
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Jul 2019 15:17:48 +0000 (12:17 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Jul 2019 16:00:29 +0000 (13:00 -0300)
commitf10ff380fd7dfba4a36d40f8dd00fe17da8a1a10
tree30ac7f553df87fe22c47a7f7a2f82617ae57de02
parent4c7d6dcd364843e408a60952ba914bb72bafc6cc
RDMA/rvt: Do not use a kernel header in the ABI

rvt was using ib_sge as part of it's ABI, which is not allowed. Introduce
a new struct with the same layout and use it instead.

Fixes: dabac6e460ce ("IB/hfi1: Move receive work queue struct into uapi directory")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rdmavt/qp.c
include/uapi/rdma/rvt-abi.h