[PATCH] intel: Use memset instead of VG_CLEAR

2013-11-20 Thread Daniel Vetter
On Wed, Nov 20, 2013 at 08:38:38AM -0800, Ian Romanick wrote: > From: Ian Romanick > > 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 > Reported-by: Zhenyu Wang > Cc: Damien

[PATCH] intel: Use memset instead of VG_CLEAR

2013-11-20 Thread Damien Lespiau
On Wed, Nov 20, 2013 at 08:38:38AM -0800, Ian Romanick wrote: > From: Ian Romanick > > 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 > Reported-by: Zhenyu Wang > Cc: Damien

[PATCH] intel: Use memset instead of VG_CLEAR

2013-11-20 Thread Ian Romanick
From: Ian Romanick 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 Reported-by: Zhenyu Wang Cc: Damien Lespiau Cc: Daniel Vetter --- intel/intel_bufmgr_gem.c | 2 +- 1 file chan