[PATCH 1/2] drm/vmwgfx: use kzalloc in vmw_surface_define_ioctl()

2015-10-01 Thread kbuild test robot
Hi Rasmus, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] coccinelle warnings: (new ones prefixed by >>) >> drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:771:1-13: alloc with no test, >> possible model on line 817 vim +771 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c

[PATCH 1/2] drm/vmwgfx: use kzalloc in vmw_surface_define_ioctl()

2015-09-30 Thread Rasmus Villemoes
On Wed, Sep 30 2015, kbuild test robot wrote: > Hi Rasmus, > > [auto build test results on v4.3-rc3 -- if it's inappropriate base, please > ignore] > > > coccinelle warnings: (new ones prefixed by >>) > >>> drivers/gpu/drm/vmwgfx/vmwgfx_surface.c:771:1-13: alloc with no test, >>> possible model

[PATCH 1/2] drm/vmwgfx: use kzalloc in vmw_surface_define_ioctl()

2015-09-30 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes --- drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c b/drivers/gpu/drm/vmwgfx/vmwgfx_surface.c index 64b50409fa07..38d910ae9b21 100644 --- a/drivers/gpu/drm/v