aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-08-12 14:50:31 +0000
committerAlex Deucher <[email protected]>2023-08-15 22:08:30 +0000
commitb828e1004cce55a078ba7bb11e252c2499793025 (patch)
treed8973177d4057569bddcc126482250707e36957c /tools/perf/scripts/python/stat-cpi.py
parentdrm/amd/display: Replace ternary operator with min() in 'dm_helpers_parse_edi... (diff)
downloadkernel-b828e1004cce55a078ba7bb11e252c2499793025.tar.gz
kernel-b828e1004cce55a078ba7bb11e252c2499793025.zip
drm/amdgpu: Replace ternary operator with min() in 'amdgpu_iomem_write'
Fixes the following coccicheck: drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2482:16-17: WARNING opportunity for min() min() macro is defined in include/linux/minmax.h. It avoids multiple evaluations of the arguments when non-constant and performs strict type-checking. Cc: Guchun Chen <[email protected]> Cc: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Cc: "Pan, Xinhui" <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions