alistair23-linux/drivers/gpu/drm/vmwgfx
Thomas Meyer 24bb5a0ce3 vmwgfx: Use kcalloc instead of kzalloc to allocate array
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.

The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2011-12-07 10:44:41 +00:00
..
Kconfig vmwgfx: Take the driver out of staging 2011-10-11 13:06:36 +01:00
Makefile vmwgfx: Add screen object support 2011-10-05 10:17:14 +01:00
svga3d_reg.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_escape.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_overlay.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_reg.h vmwgfx: Update register files to latest from vmware-sdk 2011-10-05 10:17:08 +01:00
svga_types.h
vmwgfx_buffer.c vmwgfx: Handle device surface memory limit 2011-10-05 10:17:31 +01:00
vmwgfx_dmabuf.c vmwgfx: Fix up query processing 2011-10-05 10:17:22 +01:00
vmwgfx_drv.c Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux 2011-11-07 10:01:56 -08:00
vmwgfx_drv.h vmwgfx: Reinstate the update_layout ioctl 2011-11-02 08:30:31 +00:00
vmwgfx_execbuf.c Revert "drm/ttm: add a way to bo_wait for either the last read or last write" 2011-10-27 18:28:37 +02:00
vmwgfx_fb.c gpu: Add export.h as required to drivers/gpu files. 2011-10-31 19:32:03 -04:00
vmwgfx_fence.c vmwgfx: memory leaks caused by double allocation 2011-10-18 10:41:31 +01:00
vmwgfx_fence.h vmwgfx: Add fence events 2011-10-10 15:46:55 +01:00
vmwgfx_fifo.c vmwgfx: Add fence events 2011-10-10 15:46:55 +01:00
vmwgfx_gmr.c vmwgfx: Implement GMR2 2011-09-01 09:39:25 +01:00
vmwgfx_gmrid_manager.c vmwgfx: Restrict number of GMR pages to device limit 2011-09-01 09:38:07 +01:00
vmwgfx_ioctl.c vmwgfx: Use kcalloc instead of kzalloc to allocate array 2011-12-07 10:44:41 +00:00
vmwgfx_irq.c vmwgfx: Add fence events 2011-10-10 15:46:55 +01:00
vmwgfx_kms.c vmwgfx: integer overflow in vmw_kms_update_layout_ioctl() 2011-12-02 10:49:41 +00:00
vmwgfx_kms.h vmwgfx: Infrastructure for explicit placement 2011-11-07 13:15:18 +00:00
vmwgfx_ldu.c vmwgfx: Infrastructure for explicit placement 2011-11-07 13:15:18 +00:00
vmwgfx_marker.c vmwgfx: Fix confusion caused by using "fence" in various places 2011-09-06 11:48:40 +01:00
vmwgfx_overlay.c vmwgfx: minor dmabuf utilities cleanup 2011-10-05 10:17:20 +01:00
vmwgfx_reg.h
vmwgfx_resource.c vmwgfx: memory leaks caused by double allocation 2011-10-18 10:41:31 +01:00
vmwgfx_scrn.c vmwgfx: Infrastructure for explicit placement 2011-11-07 13:15:18 +00:00
vmwgfx_ttm_glue.c vmwgfx: Remove the possibility to map the fifo from user-space 2011-09-06 11:48:34 +01:00