OSDN Git Service

RDMA/hns: Update the kernel header file of hns
authorLijun Ou <oulijun@huawei.com>
Wed, 23 Jan 2019 02:09:27 +0000 (10:09 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 25 Jan 2019 16:55:48 +0000 (09:55 -0700)
commit9d9d4ff788845fad1626b80164e43a1f0f17ccbc
treea4b400ad4c99c28dc23b98dcd98c0799d5d42f17
parent951d01b96f174ded6180e7e4e14929ef22e7da7e
RDMA/hns: Update the kernel header file of hns

The hns_roce_ib_create_srq_resp is used to interact with the user for
data, this was open coded to use a u32 directly, instead use a properly
sized structure.

Fixes: c7bcb13442e1 ("RDMA/hns: Add SRQ support for hip08 kernel mode")
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_srq.c
include/uapi/rdma/hns-abi.h