aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-09-03 12:22:25 +0530
committerAlex Deucher <[email protected]>2023-09-06 14:35:22 -0400
commiteb3b214c37edd323b496b256bb492592aa51c6f2 (patch)
tree3a47a5ddb84f8fb1315da6f30e597767c8b03b00 /tools/perf/scripts/python/flamegraph.py
parent806c6b3d6f8302a569d6b358f28e6e800c1f988b (diff)
drm/amdgpu: Use min_t to replace min
Use min_t to replace min, min_t is a bit fast because min use twice typeof. And using min_t is cleaner here since the min/max macros do a typecheck while min_t()/max_t() to an explicit type cast. Fixes the below checkpatch warning: WARNING: min() should probably be min_t() Cc: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Cc: "Pan, Xinhui" <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions