]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/hns: Fix build error of hns_roce_trace
authorJunxian Huang <huangjunxian6@hisilicon.com>
Wed, 7 May 2025 03:39:03 +0000 (11:39 +0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 12 May 2025 09:02:02 +0000 (05:02 -0400)
commit4ffb62fa8925c1c1591145ff0f5ccfd5918b40df
tree621c19deb47a6f0213d0c749ca8b28470bacc671
parente56b4eab9cde7db525bf8dc57b489d157d5a201e
RDMA/hns: Fix build error of hns_roce_trace

Add include path to find hns_roce_trace.h to fix the following
build error:

In file included from drivers/infiniband/hw/hns/hns_roce_trace.h:213,
                 from drivers/infiniband/hw/hns/hns_roce_hw_v2.c:53:
./include/trace/define_trace.h:110:42: fatal error: ./hns_roce_trace.h: No such file or directory
  110 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
      |                                          ^
compilation terminated.

Fixes: 02007e3ddc07 ("RDMA/hns: Add trace for flush CQE")
Reported-by: Paul E. McKenney <paulmck@kernel.org>
Closes: https://lore.kernel.org/linux-next/b7dd4dda-37d8-47e4-8d78-b6585be21cfd@paulmck-laptop/T/#t
Tested-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://patch.msgid.link/20250507033903.2879433-1-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/hns/Makefile