diff options
author | Danielle Ratson <[email protected]> | 2021-05-17 20:03:56 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-17 15:15:46 -0700 |
commit | ece5df874d3a80fcade92ca3b3877bd78dbb6116 (patch) | |
tree | 349d16d7d27f63ace45b2ec3609ca7d0730e566c /tools/perf/scripts/python/intel-pt-events.py | |
parent | b4d786941b585ee0075decd531660852bea81479 (diff) |
mlxsw: spectrum_buffers: Switch function arguments
In the call path:
mlxsw_sp_hdroom_bufs_reset_sizes()
mlxsw_sp_hdroom_int_buf_size_get()
->int_buf_size_get()
The 'speed' and 'mtu' arguments were mistakenly switched twice. The two
bugs thus canceled each other.
Clean this up by switching the arguments in both call sites, so that
they are passed in the right order.
Found during manual code inspection.
Signed-off-by: Danielle Ratson <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions