platform/mellanox: mlxbf-pmc: Fix event typo
authorJames Hurley <jahurley@nvidia.com>
Fri, 9 Dec 2022 14:35:19 +0000 (09:35 -0500)
committerHans de Goede <hdegoede@redhat.com>
Mon, 12 Dec 2022 09:31:27 +0000 (10:31 +0100)
Had a duplicate event typo, so just fixed the 1 character typo.

Fixes: 1a218d312e65 ("platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver")
Signed-off-by: James Hurley <jahurley@nvidia.com>
Reviewed-by: David Thompson <davthompson@nvidia.com>
Reviewed-by: Shravan Kumar Ramani <shravankr@nvidia.com>
Link: https://lore.kernel.org/r/aadacdbbd3186c55e74ea9456fe011b77938eb6c.1670535330.git.jahurley@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/mellanox/mlxbf-pmc.c

index 65b4a819f1bdf85f49bc7ab61eb918f0bc06bc86..c2c9b0d3244cbf2bc0cfad486169a0741d0d931e 100644 (file)
@@ -358,7 +358,7 @@ static const struct mlxbf_pmc_events mlxbf_pmc_hnfnet_events[] = {
        { 0x32, "DDN_DIAG_W_INGRESS" },
        { 0x33, "DDN_DIAG_C_INGRESS" },
        { 0x34, "DDN_DIAG_CORE_SENT" },
-       { 0x35, "NDN_DIAG_S_OUT_OF_CRED" },
+       { 0x35, "NDN_DIAG_N_OUT_OF_CRED" },
        { 0x36, "NDN_DIAG_S_OUT_OF_CRED" },
        { 0x37, "NDN_DIAG_E_OUT_OF_CRED" },
        { 0x38, "NDN_DIAG_W_OUT_OF_CRED" },