summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-06-09 18:09:26 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-06-10 11:44:26 -0400
commitd0b3bbd32f278fb7125133fda755f9d17cf597ad (patch)
tree4286e05c0ff6c3c495750d4e21ca1528c31bd7b9 /tools/perf/scripts/python/intel-pt-events.py
parent5d9f730193557be217680d54fa0be6c985f0f328 (diff)
drm/amd/display: use ARRAY_SIZE for base60_refresh_rates
Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element. Clean up the following coccicheck warning: ./drivers/gpu/drm/amd/display/dc/core/dc_resource.c:448:47-48: WARNING: Use ARRAY_SIZE. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions