summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJérémy Lefaure <jeremy.lefaure@lse.epita.fr>2017-10-16 05:29:23 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-10-19 22:27:11 +0300
commitc1b24a1405ed8720f5837fc77fbc52fd008cbb42 (patch)
tree005ff7c635183d02b14ef07ad2bd486e07b3ac2c /tools/perf/scripts/python/export-to-postgresql.py
parent2642cf110d08a403f585a051e4cbf45a90b3adea (diff)
downloadlinux-c1b24a1405ed8720f5837fc77fbc52fd008cbb42.tar.xz
drm/amdgpu: use ARRAY_SIZE
Using the ARRAY_SIZE macro improves the readability of the code. Found with Coccinelle with the following semantic patch: @r depends on (org || report)@ type T; T[] E; position p; @@ ( (sizeof(E)@p /sizeof(*E)) | (sizeof(E)@p /sizeof(E[...])) | (sizeof(E)@p /sizeof(T)) ) Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions