Skip to content
Commit cb7ee522 authored by Aishwarya Ramakrishnan's avatar Aishwarya Ramakrishnan Committed by Zhenyu Wang
Browse files

drm/i915/gvt: Use ARRAY_SIZE for vgpu_types



Prefer ARRAY_SIZE instead of using sizeof

Fixes coccicheck warning: Use ARRAY_SIZE

Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: default avatarAishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200518150336.15265-1-aishwaryarj100@gmail.com
parent 11678868
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment