diff options
| author | Aditya Swarup <aditya.swarup@intel.com> | 2020-03-03 06:23:47 -0800 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-03 17:30:20 +0000 |
| commit | 9b234d2643692601149b373e5d7e831eace95dfa (patch) | |
| tree | 1d141bd37ac4e14bcc27d33691a4f505e20b882c /tools/perf/scripts/python/bin | |
| parent | drm/i915/gt: Drop the timeline->mutex as we wait for retirement (diff) | |
| download | linux-9b234d2643692601149b373e5d7e831eace95dfa.tar.gz linux-9b234d2643692601149b373e5d7e831eace95dfa.zip | |
drm/i915/selftests: Fix uninitialized variable
Static code analysis tool identified struct lrc_timestamp data as being
uninitialized and then data.ce[] is being checked for NULL/negative
value in the error path. Initializing data variable fixes the issue.
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Aditya Swarup <aditya.swarup@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200303142347.15696-1-aditya.swarup@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
