]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RDMA/hns: Bugfix for init hem table
authoroulijun <oulijun@huawei.com>
Thu, 26 Apr 2018 06:46:15 +0000 (14:46 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:01:30 +0000 (04:01 +0900)
commit2c87269995e14f56be301be2e460f5f7338b4dbb
treef598505e7b38b5167961bf2274a180d5fd7209f6
parentbeb00d1fc8f4510d07e336cb981a9d937bb45094
RDMA/hns: Bugfix for init hem table

[ Upstream commit 215a8c09e5e2aa6ae1fbcef87f8f27d65d5d1ca4 ]

During init hem table, type should be used instead of
table->type which is finally initializaed with type.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/hns/hns_roce_hem.c