[PATCH v2 0/2] Bug fixes to mlxbf-pmc

Shravan Kumar Ramani posted 2 patches 3 months, 3 weeks ago
drivers/platform/mellanox/mlxbf-pmc.c | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
[PATCH v2 0/2] Bug fixes to mlxbf-pmc
Posted by Shravan Kumar Ramani 3 months, 3 weeks ago
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