[PATCH 0/3] drm/vmwgfx: Fine-tuning for 13 function implementations

From: SF Markus Elfring
Date: Fri Sep 23 2016 - 12:35:07 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Sep 2016 18:24:32 +0200

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (3):
Use kmalloc_array() in vmw_surface_define_ioctl()
Use memdup_user() rather than duplicating its implementation
Adjust checks for null pointers in 13 functions

drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 56 ++++++++++++++-------------------
1 file changed, 23 insertions(+), 33 deletions(-)

--
2.10.0