Skip to content

Commit 988c235

Browse files
shayshyiSaeed Mahameed
authored andcommitted
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: Shay Drory <[email protected]> Reviewed-by: Moshe Shemesh <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
1 parent beeebdc commit 988c235

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/ethernet/mellanox/mlx5/core/diag

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ static int mlx5_tracer_handle_string_trace(struct mlx5_fw_tracer *tracer,
602602
} else {
603603
cur_string = mlx5_tracer_message_get(tracer, tracer_event);
604604
if (!cur_string) {
605-
pr_debug("%s Got string event for unknown string tdsm: %d\n",
605+
pr_debug("%s Got string event for unknown string tmsn: %d\n",
606606
__func__, tracer_event->string_event.tmsn);
607607
return -1;
608608
}

0 commit comments

Comments
 (0)