diff options
| author | Shravan Kumar Ramani <[email protected]> | 2025-07-02 10:09:01 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2025-07-07 12:53:23 +0000 |
| commit | 44e6ca8faeeed12206f3e7189c5ac618b810bb9c (patch) | |
| tree | 5c7de34db48ab6e77340542e94966dea175fcbc6 /rust/helpers/helpers.c | |
| parent | platform/x86: dell-ddv: Fix taking the psy->extensions_sem lock twice (diff) | |
| download | kernel-44e6ca8faeeed12206f3e7189c5ac618b810bb9c.tar.gz kernel-44e6ca8faeeed12206f3e7189c5ac618b810bb9c.zip | |
platform/mellanox: mlxbf-pmc: Remove newline char from event name input
Since the input string passed via the command line appends a newline char,
it needs to be removed before comparison with the event_list.
Fixes: 1a218d312e65 ("platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver")
Signed-off-by: Shravan Kumar Ramani <[email protected]>
Reviewed-by: David Thompson <[email protected]>
Link: https://lore.kernel.org/r/4978c18e33313b48fa2ae7f3aa6dbcfce40877e4.1751380187.git.shravankr@nvidia.com
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
