aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2023-03-09 10:52:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-03-13 17:15:05 -0400
commit8866d62716c918e5d09d8297281ef93155434da0 (patch)
treeb3f80a3cd8f457e3e76bda94715782cd6ca3c17f /tools/perf/scripts/python/stackcollapse.py
parentdrm/amd/pm: Fix sienna cichlid incorrect OD volage after resume (diff)
downloadlinux-8866d62716c918e5d09d8297281ef93155434da0.tar.gz
linux-8866d62716c918e5d09d8297281ef93155434da0.zip
drm/amd/display: Use swap() instead of open coding it
Swap is a function interface that provides exchange function. To avoid code duplication, we can use swap function. ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:359:57-58: WARNING opportunity for swap(). Reported-by: Abaci Robot <abaci@linux.alibaba.com> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4448 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions