diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-07 09:39:06 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-03-07 18:13:12 +0000 |
commit | 4ead0251f2ba52783f2e790e532c660e95121c7b (patch) | |
tree | 506b840046cbf106d2760adbacba20cbadcd1af1 /tests/pm_sseu.c | |
parent | e3a0ed9855a2e9d77cfd0c770ceadac5b7030e4e (diff) |
lib: Use C99 initialisers to clear context parameters
valgrind complains we feed uninitialised stack into the CONTEXT_SETPARAM
ioctl. It is unused by the kernel, but valgrind doesn't know that and
it's easy enough to clear the struct to prevent the warning.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/pm_sseu.c')
0 files changed, 0 insertions, 0 deletions