summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/Makefile
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-03-13 00:40:54 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2018-03-13 09:43:50 +0000
commit7aa0b14ede643fb7c33aaa8e0041de04a0d6f278 (patch)
tree658713e42d0408b787a915263e90719788dbb79d /drivers/gpu/drm/i915/Makefile
parentc37d57282033067edf60e044229a4b4f367cc81b (diff)
downloadlwn-7aa0b14ede643fb7c33aaa8e0041de04a0d6f278.tar.gz
lwn-7aa0b14ede643fb7c33aaa8e0041de04a0d6f278.zip
drm/i915: Remove variable length arrays from sseu debugfs printers
In order to enable -Wvla to prevent new variable length arrays being used in i915.ko, we first must remove the existing VLA. Inside i915_print_sseu_info(), VLA are used as the actual size of the sseu depends on platform. Replace the VLA with the maximum required. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Matthew Auld <matthew.auld@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180313004055.25411-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/Makefile')
0 files changed, 0 insertions, 0 deletions