Loading
RDMA/hns: Remove unnecessary checks for NULL in mtr_alloc_bufs()
mainline inclusion from mainline-v6.8-rc1 commit f31683a5227b1a0febae8e2a85d7fdf9514c10f1 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I90X3R CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f31683a5227b1a0febae8e2a85d7fdf9514c10f1 ---------------------------------------------------------------------- ib_umem_get() never return NULL. Fixes: 3c873161 ("RDMA/hns: Add support for addressing when hopnum is 0") Signed-off-by:Chengchang Tang <tangchengchang@huawei.com> Signed-off-by:
Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20231207114231.2872104-5-huangjunxian6@hisilicon.com Signed-off-by:
Leon Romanovsky <leon@kernel.org> Signed-off-by:
Juan Zhou <zhoujuan51@h-partners.com>