RDMA/hns: Fix error code of CMD
mainline inclusion from mainline-v6.2-rc1 commit 667d6164 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6RO6S CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=667d6164b84884c64de3fc18670cd5a98b0b10cf ---------------------------------------------------------------------- The error code is fixed to EIO when CMD fails to excute. This patch converts the error status reported by firmware to linux errno. Fixes: a04ff739 ("RDMA/hns: Add command queue support for hip08 RoCE driver") Link: https://lore.kernel.org/r/20221126102911.2921820-6-xuhaoyue1@hisilicon.com Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Haoyue Xu <xuhaoyue1@hisilicon.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com> Signed-off-by:
Zhou Juan <nnuzj07170227@163.com>
Loading
Please sign in to comment