commit | 0c3fd8708fc54b4b46f5db20d34eb29508537b08 | [log] [tgz] |
---|---|---|
author | Ian Romanick <ian.d.romanick@intel.com> | Wed Nov 20 08:32:14 2013 -0800 |
committer | Ian Romanick <ian.d.romanick@intel.com> | Wed Nov 20 11:55:07 2013 -0800 |
tree | c5ea60ea56c1e2052b9fea5ed7b5058abcb1cfa1 | |
parent | c601444a900d67be7ab84714c2908356de359655 [diff] |
intel: Use memset instead of VG_CLEAR The ioctl expects that certain fields will be zeroed, so we should allow the helper function to actually work in non-Valgrind builds. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reported-by: Zhenyu Wang <zhenyuw@linux.intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>