diff options
author | Aditya Swarup <[email protected]> | 2020-03-03 06:23:47 -0800 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2020-03-03 17:30:20 +0000 |
commit | 9b234d2643692601149b373e5d7e831eace95dfa (patch) | |
tree | 1d141bd37ac4e14bcc27d33691a4f505e20b882c /lib/test_overflow.c | |
parent | 82126e596d8519baac416aee83cad938f1d23cf8 (diff) |
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 <[email protected]>
Cc: Chris Wilson <[email protected]>
Signed-off-by: Aditya Swarup <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions