linux/drivers/gpu/drm/virtio
Gustavo A. R. Silva 77cf3a6827 drm/virtio: Use struct_size() helper in kmalloc()
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes.

This code was detected with the help of Coccinelle and, audited and
fixed manually.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200617215707.GA16785@embeddedor
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2020-08-17 13:08:43 +02:00
..
Kconfig
Makefile
virtgpu_debugfs.c
virtgpu_display.c drm/virtgpu: remove redundant assignments to width and height 2020-08-17 09:36:35 +02:00
virtgpu_drv.c
virtgpu_drv.h drm pull for 5.8-rc1 2020-06-02 15:04:15 -07:00
virtgpu_fence.c
virtgpu_gem.c drm/virtio: Use struct_size() helper in kmalloc() 2020-08-17 13:08:43 +02:00
virtgpu_ioctl.c drm-misc-next for v5.9: 2020-06-24 15:45:51 +10:00
virtgpu_kms.c A few resources-related fixes for qxl, some doc build warnings and ioctl 2020-05-01 10:42:09 +10:00
virtgpu_object.c drm/virtio: Revert "drm/virtio: Call the right shmem helpers" 2020-08-17 09:36:35 +02:00
virtgpu_plane.c
virtgpu_prime.c
virtgpu_trace.h
virtgpu_trace_points.c
virtgpu_vq.c drm/virtio: make virtio_gpu_object_attach void 2020-04-03 12:01:37 +02:00