Loading
RDMA/hns: fix error return in hns_roce_v2_modify_srq()
driver inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9FAYN ------------------------------------ When none of the conditions of the 'if' block are met, 0 should be returned instead of -EOPNOTSUPP. Fixes: 5e7ecc38 ("RDMA/hns: Support SW stats with debugfs") Signed-off-by:wenglianfa <wenglianfa@huawei.com> Signed-off-by:
Zihao Xue <xuezihao@huawei.com>