aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2022-11-28 12:36:39 -0800
committerJakub Kicinski <kuba@kernel.org>2022-11-30 20:54:29 -0800
commit28e0c250f17ab3b6eb4dcee1a8208125bc77c61e (patch)
treef888563c3216e46a2eaf75ca5b99efe588399c1e /tools/perf/scripts/python
parentnet: microchip: vcap: Change how the rule id is generated (diff)
downloadlinux-28e0c250f17ab3b6eb4dcee1a8208125bc77c61e.tar.gz
linux-28e0c250f17ab3b6eb4dcee1a8208125bc77c61e.zip
devlink: use min_t to calculate data_size
The calculation for the data_size in the devlink_nl_read_snapshot_fill function uses an if statement that is better expressed using the min_t macro. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions