[PATCH v2 0/2] Bug fixes to mlxbf-pmc
From: Shravan Kumar Ramani
Date: Wed Jun 18 2025 - 07:47:28 EST
This submission contains 2 patches:
Patch 1 fixes an issue with matching an input event_name string with the
list of supported events in the event_list.
Patch 2 adds checks to validate the input for event and enable fields, and
prevents the user from writing invalid values to these fields.
Shravan Kumar Ramani (2):
platform/mellanox: mlxbf-pmc: Replace strcmp with strncmp
platform/mellanox: mlxbf-pmc: Validate event/enable input
drivers/platform/mellanox/mlxbf-pmc.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
--
2.30.1