mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
net/mlx5: fw_tracer: Fix debug print
[ Upstream commit 988c235227 ]
The debug message specify tdsn, but takes as an argument the
tmsn. The correct argument is tmsn, hence, fix the print.
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1ef724fed3
commit
206c511e42
@@ -603,7 +603,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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user