aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-11-07 14:53:34 +0000
committerChris Wilson <[email protected]>2017-11-07 17:50:10 +0000
commit2f59f1b33a84447247b21be60ecf05080ce2982a (patch)
tree2586ee11c80f34225455ec110cadcb2c57305da6 /tools/perf/scripts/python/bin
parent0ffba1fc98e8ec35caae8d50b657296ebb9a9a51 (diff)
drm/i915: Silence compiler for csr_load_work_fn()
gcc-4.7 is not very smart and can not tell that "si" is guarded by size being 0. So it complains, drivers/gpu/drm/i915/intel_csr.c: In function ‘csr_load_work_fn’: drivers/gpu/drm/i915/intel_csr.c:204:3: warning: ‘si’ may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gpu/drm/i915/intel_csr.c:190:30: note: ‘si’ was declared in Give in and mark si as NULL. Signed-off-by: Chris Wilson <[email protected]> Cc: Anusha Srivatsa <[email protected]> Cc: Rodrigo Vivi <[email protected]> Cc: Imre Deak <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Gabriel Krisman Bertazi <[email protected]> Reviewed-by: Michal Wajdeczko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions