diff options
| author | 2015-08-21 20:45:27 +0300 | |
|---|---|---|
| committer | 2015-08-26 11:19:22 +0200 | |
| commit | 0a0b457fbf765d0b98fa48495b9bb7901eb8b091 (patch) | |
| tree | 8484fd1d3fb0fd51a846b42b7be0b5399f875b04 /tools/lib/python/kdoc/python_version.py | |
| parent | drm/i915/bxt: Use correct live status register for BXT platform (diff) | |
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 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
