RDMA/hns: Handling the error return value of hem function
authorLang Cheng <chenglang@huawei.com>
Thu, 8 Aug 2019 14:53:47 +0000 (22:53 +0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 12 Aug 2019 14:45:08 +0000 (10:45 -0400)
commit0e20ebf8d48e02846e202cad23bbfd6850b0b003
tree08d34e53d79d401535e139d9d1a76073dbc40e23
parent6def7de6d450893852802794ab44d8053672cf88
RDMA/hns: Handling the error return value of hem function

Handling the error return value of hns_roce_calc_hem_mhop.

Signed-off-by: Lang Cheng <chenglang@huawei.com>
Link: https://lore.kernel.org/r/1565276034-97329-8-git-send-email-oulijun@huawei.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hem.c