summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2021-05-17 20:03:56 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-18 01:15:46 +0300
commitece5df874d3a80fcade92ca3b3877bd78dbb6116 (patch)
tree349d16d7d27f63ace45b2ec3609ca7d0730e566c /tools/perf/scripts/python
parentb4d786941b585ee0075decd531660852bea81479 (diff)
downloadlinux-ece5df874d3a80fcade92ca3b3877bd78dbb6116.tar.xz
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 <danieller@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions