Loading
RDMA/hns: Use dev_* printings in hem code instead of ibdev_*
mainline inclusion from mainline-v6.13-rc1 commit d81fb6511abf18591befaa5f4a972ffc838690ec category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB4ZYK Reference: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git/commit/?id=d81fb6511abf18591befaa5f4a972ffc838690ec ---------------------------------------------------------------------- The hem code is executed before ib_dev is registered, so use dev_* printing instead of ibdev_* to avoid log like this: (null): set HEM address to HW failed! Fixes: 2f49de21 ("RDMA/hns: Optimize mhop get flow for multi-hop addressing") Signed-off-by:Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20241024124000.2931869-5-huangjunxian6@hisilicon.com Signed-off-by:
Leon Romanovsky <leon@kernel.org> Signed-off-by:
huwentao <huwentao19@h-partners.com>