]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/mellanox: mlxbf-pmc: Remove trailing whitespaces from event names
authorShravan Kumar Ramani <shravankr@nvidia.com>
Thu, 18 Dec 2025 12:18:13 +0000 (12:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:33 +0000 (10:14 +0100)
commit70984f8717ef06a3df004d97513b39d00f491243
tree9f4557cba5207fc9f8968bfaed142e61bfccdc9b
parent5fe210533e3459197eabfdbf97327dacbdc04d60
platform/mellanox: mlxbf-pmc: Remove trailing whitespaces from event names

[ Upstream commit f13bce715d1600698310a4a7832f6a52499d5395 ]

Some event names have trailing whitespaces at the end which causes programming
of counters using the name for these specific events to fail and hence need to
be removed.

Fixes: 423c3361855c ("platform/mellanox: mlxbf-pmc: Add support for BlueField-3")
Signed-off-by: Shravan Kumar Ramani <shravankr@nvidia.com>
Reviewed-by: David Thompson <davthompson@nvidia.com>
Link: https://patch.msgid.link/065cbae0717dcc1169681c4dbb1a6e050b8574b3.1766059953.git.shravankr@nvidia.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/mellanox/mlxbf-pmc.c