diff options
author | Roi Dayan <[email protected]> | 2021-08-11 14:14:49 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2021-09-24 11:46:52 -0700 |
commit | 1836d78015b4fdff9cde6559e436e9e394d33197 (patch) | |
tree | 557bdd806d4dadd4c54130bc113cc1abfbad6117 /tools/perf/scripts/python/syscall-counts.py | |
parent | 6c2509d4463640c4b91d5937b5b2ff5ca07f6567 (diff) |
net/mlx5e: Use correct return type
modify_header_match_supported() should return type bool but
it returns the value returned by is_action_keys_supported()
which is type int.
is_action_keys_supported() always returns either -EOPNOTSUPP
or 0 and it shouldn't change as the purpose of the function
is checking for support. so just make the function return
a bool type.
Signed-off-by: Roi Dayan <[email protected]>
Reviewed-by: Maor Dickman <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions