summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-09-22 22:54:33 +0300
committerSinclair Yeh <syeh@vmware.com>2016-10-10 21:46:35 +0300
commit7ed3b3943281e9da32b52e2aac77bdb2c42c5117 (patch)
tree3d4f537c3f0baf5f42306bb776c0432a04c68629 /scripts/gcc-plugins/cyc_complexity_plugin.c
parenta19440304db2d97aed5cee9bfa5017c98d2348bf (diff)
downloadlinux-7ed3b3943281e9da32b52e2aac77bdb2c42c5117.tar.xz
drm/vmwgfx: Use kmalloc_array() in vmw_surface_define_ioctl()
Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions