]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net/mlx5: fw_tracer: Fix debug print
authorShay Drory <shayd@nvidia.com>
Wed, 11 Jan 2023 11:34:02 +0000 (13:34 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 8 Feb 2023 00:29:55 +0000 (16:29 -0800)
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>
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c

index 21831386b26e848449cd3040e8b0662f84231cd8..4ce75cef46c84ca5547e81bb79dbaf0b862da048 100644 (file)
@@ -602,7 +602,7 @@ static int mlx5_tracer_handle_string_trace(struct mlx5_fw_tracer *tracer,
        } else {
                cur_string = mlx5_tracer_message_get(tracer, tracer_event);
                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);
                        return -1;
                }