RDMA/hns: Add return operation when configured global param fail
authoroulijun <oulijun@huawei.com>
Fri, 4 May 2018 02:57:07 +0000 (10:57 +0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 9 May 2018 14:45:18 +0000 (10:45 -0400)
commit2349fdd483ea933b223f3eca53ed42835383d316
treef5e8a93dd1e75b8f8c52ea8789ee344e2c10dec8
parentad18e20ba2887e221e903d311f4c9a1586eacffb
RDMA/hns: Add return operation when configured global param fail

When configure global param function run fail, it should directly return
and the initial flow will stop.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c