diff options
author | Parav Pandit <[email protected]> | 2024-01-29 21:10:59 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-30 18:32:41 -0800 |
commit | 1a89e24f8bfd3e3562d69709c9d9cd185ded869b (patch) | |
tree | cd8c94fad18d5a1ea745cf54b68ce9c0be5c684d /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | f5c3eb4b7251baba5cd72c9e93920e710ac8194a (diff) |
devlink: Fix referring to hw_addr attribute during state validation
When port function state change is requested, and when the driver
does not support it, it refers to the hw address attribute instead
of state attribute. Seems like a copy paste error.
Fix it by referring to the port function state attribute.
Fixes: c0bea69d1ca7 ("devlink: Validate port function request")
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions