aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-07-21 20:00:18 +0300
committerJonathan Cameron <[email protected]>2023-07-23 10:13:47 +0100
commitcb1d17535061ca295903f97f5cb0af9db719c02c (patch)
tree2b2287b958a30845ae849edd93f4d285cc6d375c /tools/perf/scripts/python/bin/stackcollapse-record
parent90c6241860bf804c95aec02ed296898459720a7c (diff)
iio: core: Use min() instead of min_t() to make code more robust
min() has strict type checking and preferred over min_t() for unsigned types to avoid overflow. Here it's unclear why min_t() was chosen since both variables are of the same type. In any case update to use min(). Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Nuno Sa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions