OSDN Git Service

RDMA/hns: Set allocated memory to zero for wrid
authorYixian Liu <liuyixian@huawei.com>
Sun, 3 Feb 2019 08:13:05 +0000 (16:13 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 14 Feb 2019 20:20:19 +0000 (13:20 -0700)
commitf7f27a5f03cc9f47cc14f75a5be25f0f26b1b5ff
tree80c794874bd3ad2653d867bad2efefb91e22ddd0
parentab22bf05216a6bb4812448f3a8609489047cf311
RDMA/hns: Set allocated memory to zero for wrid

The memory allocated for wrid should be initialized to zero.

Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_qp.c