aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2016-05-13 23:06:40 +0530
committerAlex Deucher <alexander.deucher@amd.com>2016-05-16 12:17:25 -0400
commita7aabcc8a5f5e7834abb538ad97db04d29968fbe (patch)
tree94d34ff277c71ec509f10469dae609cdd57af179 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm/amdgpu: fix array out of bounds (diff)
downloadwireguard-linux-a7aabcc8a5f5e7834abb538ad97db04d29968fbe.tar.xz
wireguard-linux-a7aabcc8a5f5e7834abb538ad97db04d29968fbe.zip
drm/amd/powerplay: use ARRAY_SIZE() to calculate array size.
It is preferred to use ARRAY_SIZE() for size calculation, instead using sizeof(array)/sizeof(*array). It makes the code more readable. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> 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