net/mlx5e: Remove trailing space of tx_pause ethtool counter name
authorSaeed Mahameed <saeedm@mellanox.com>
Mon, 5 Nov 2018 19:26:32 +0000 (11:26 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 5 Dec 2018 02:20:00 +0000 (18:20 -0800)
tx_pause_storm_warning_events ethtool counter name has a trailing
space, remove it.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c

index 3e99d0728b2f2c5366a13f01400d4354d3c80b2c..40b60e958cfd9c5a0f1eae5a58d468c605d7587b 100644 (file)
@@ -936,7 +936,7 @@ static const struct counter_desc pport_per_prio_pfc_stats_desc[] = {
 };
 
 static const struct counter_desc pport_pfc_stall_stats_desc[] = {
-       { "tx_pause_storm_warning_events ", PPORT_PER_PRIO_OFF(device_stall_minor_watermark_cnt) },
+       { "tx_pause_storm_warning_events", PPORT_PER_PRIO_OFF(device_stall_minor_watermark_cnt) },
        { "tx_pause_storm_error_events", PPORT_PER_PRIO_OFF(device_stall_critical_watermark_cnt) },
 };