summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_sdvo.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-08-21 20:45:27 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-08-26 12:19:22 +0300
commit0a0b457fbf765d0b98fa48495b9bb7901eb8b091 (patch)
tree8484fd1d3fb0fd51a846b42b7be0b5399f875b04 /drivers/gpu/drm/i915/intel_sdvo.c
parente464bfdeda3da3b0ef29ca84960715993ccbb1fc (diff)
downloadlinux-0a0b457fbf765d0b98fa48495b9bb7901eb8b091.tar.xz
drm/i915: Fix some gcc warnings
Simple one: drivers/gpu/drm/i915/i915_debugfs.c:2449:57: warning: Using plain integer as NULL pointer And something a bit more peculiar: drivers/gpu/drm/i915/i915_debugfs.c:4953:18: warning: Variable length array is used. drivers/gpu/drm/i915/i915_debugfs.c:4953:32: warning: Variable length array is used. We pass a 'const int' as the array size which results in the warning, dropping the const gets rid of the warning. Weird, but I think getting rid of the warnings is better than holding on to the const. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sdvo.c')
0 files changed, 0 insertions, 0 deletions