You need to sign in or sign up before continuing.
提交 988c2352 编写于 作者: S Shay Drory 提交者: Saeed Mahameed

net/mlx5: fw_tracer: Fix debug print

The debug message specify tdsn, but takes as an argument the
tmsn. The correct argument is tmsn, hence, fix the print.
Signed-off-by: NShay Drory <shayd@nvidia.com>
Reviewed-by: NMoshe Shemesh <moshe@nvidia.com>
Signed-off-by: NSaeed Mahameed <saeedm@nvidia.com>
上级 beeebdc5
...@@ -602,7 +602,7 @@ static int mlx5_tracer_handle_string_trace(struct mlx5_fw_tracer *tracer, ...@@ -602,7 +602,7 @@ static int mlx5_tracer_handle_string_trace(struct mlx5_fw_tracer *tracer,
} else { } else {
cur_string = mlx5_tracer_message_get(tracer, tracer_event); cur_string = mlx5_tracer_message_get(tracer, tracer_event);
if (!cur_string) { if (!cur_string) {
pr_debug("%s Got string event for unknown string tdsm: %d\n", pr_debug("%s Got string event for unknown string tmsn: %d\n",
__func__, tracer_event->string_event.tmsn); __func__, tracer_event->string_event.tmsn);
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册