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