intel: Use memset instead of VG_CLEAR
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 20 Nov 2013 16:32:14 +0000 (08:32 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 20 Nov 2013 19:55:07 +0000 (11:55 -0800)
commit0c3fd8708fc54b4b46f5db20d34eb29508537b08
treec5ea60ea56c1e2052b9fea5ed7b5058abcb1cfa1
parentc601444a900d67be7ab84714c2908356de359655
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>
intel/intel_bufmgr_gem.c