RDMA/hns: Fix hns_roce_table_get return value
mainline inclusion from mainline-v6.5-rc1 commit cf5b608fb0e369c473a8303cad6ddb386505e5b8 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7R61Q CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cf5b608fb0e369c473a8303cad6ddb386505e5b8 ---------------------------------------------------------------------- The return value of set_hem has been fixed to ENODEV, which will lead a diagnostic information missing. Fixes: 9a443537 ("IB/hns: Add driver files for hns RoCE driver") Link: https://lore.kernel.org/r/20230523121641.3132102-3-huangjunxian6@hisilicon.comSigned-off-by: NChengchang Tang <tangchengchang@huawei.com> Signed-off-by: NJunxian Huang <huangjunxian6@hisilicon.com> Signed-off-by: NJason Gunthorpe <jgg@nvidia.com> Signed-off-by: NJuan Zhou <zhoujuan51@h-partners.com>
Showing
想要评论请 注册 或 登录