diff options
author | 2020-05-18 20:33:36 +0530 | |
---|---|---|
committer | 2020-05-19 17:18:50 +0800 | |
commit | cb7ee52284a244fd14caec73df0d49e02891aac4 (patch) | |
tree | 77a681b9a2fe1fec84d9f29974b133faa83b160f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915: Mark check_shadow_context_ppgtt as maybe unused (diff) | |
download | linux-dev-cb7ee52284a244fd14caec73df0d49e02891aac4.tar.xz linux-dev-cb7ee52284a244fd14caec73df0d49e02891aac4.zip |
drm/i915/gvt: Use ARRAY_SIZE for vgpu_types
Prefer ARRAY_SIZE instead of using sizeof
Fixes coccicheck warning: Use ARRAY_SIZE
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200518150336.15265-1-aishwaryarj100@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions