Skip to content

Commit dca8fd0

Browse files
shayshyigregkh
authored andcommitted
net/mlx5: fw_tracer: Fix debug print
[ Upstream commit 988c235 ] 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]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 4d9d7e5 commit dca8fd0

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
@@ -603,7 +603,7 @@ static int mlx5_tracer_handle_string_trace(struct mlx5_fw_tracer *tracer,
603603
} else {
604604
cur_string = mlx5_tracer_message_get(tracer, tracer_event);
605605
if (!cur_string) {
606-
pr_debug("%s Got string event for unknown string tdsm: %d\n",
606+
pr_debug("%s Got string event for unknown string tmsn: %d\n",
607607
__func__, tracer_event->string_event.tmsn);
608608
return -1;
609609
}

0 commit comments

Comments
 (0)