diff options
| author | Jani Nikula <[email protected]> | 2016-10-04 12:54:12 +0300 |
|---|---|---|
| committer | Jani Nikula <[email protected]> | 2016-10-04 13:07:50 +0300 |
| commit | ff64aa1e630087381511c4d25de0657824f40efa (patch) | |
| tree | e2c89972db8123e16b8d74072200f0bd92d99b16 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d9c409d67131e62f357b43cf03af4c0caab45721 (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]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions