]> www.infradead.org Git - users/dwmw2/linux.git/commit
RDMA/hns: Use dev_* printings in hem code instead of ibdev_*
authorJunxian Huang <huangjunxian6@hisilicon.com>
Thu, 24 Oct 2024 12:39:59 +0000 (20:39 +0800)
committerLeon Romanovsky <leon@kernel.org>
Wed, 30 Oct 2024 12:13:55 +0000 (14:13 +0200)
commitd81fb6511abf18591befaa5f4a972ffc838690ec
tree005255166dd9ddb968d123a66926dccc684b0517
parent370a9351bf84afc5a56a3f02ba3805bbfcb53c32
RDMA/hns: Use dev_* printings in hem code instead of ibdev_*

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: 2f49de21f3e9 ("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>
drivers/infiniband/hw/hns/hns_roce_hem.c