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 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel