diff options
| author | Ville Syrjälä <[email protected]> | 2015-08-21 20:45:27 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2015-08-26 11:19:22 +0200 |
| commit | 0a0b457fbf765d0b98fa48495b9bb7901eb8b091 (patch) | |
| tree | 8484fd1d3fb0fd51a846b42b7be0b5399f875b04 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e464bfdeda3da3b0ef29ca84960715993ccbb1fc (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ä <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions