diff options
author | Jani Nikula <[email protected]> | 2016-10-04 12:54:12 +0300 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-10-28 15:17:50 +0300 |
commit | 7a0e17bd5d5a20784431df24601bfafec9d8ec61 (patch) | |
tree | 30b626ff4d8ef0cfbfde58174b22b88a41ca6b42 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 9cccc76bb49ffcc0370a37a6c01368d69cc3b65b (diff) |
drm/i915: workaround sparse warning on variable length arrays
Fix sparse warning:
drivers/gpu/drm/i915/intel_device_info.c:195:31: warning: Variable
length array is used.
In truth the array does have constant length, but sparse is too dumb to
realize. This is a bit ugly, but silence the warning no matter what.
Fixes: 91bedd34abf0 ("drm/i915/bdw: Check for slice, subslice and EU count for BDW")
Reviewed-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit ff64aa1e630087381511c4d25de0657824f40efa)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions