linux_dsm_epyc7002/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 drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
virtgpu_display.c drm/virtgpu: remove redundant assignments to width and height 2020-08-17 09:36:35 +02:00
virtgpu_drv.c drm/virtio: add drm_driver.release callback. 2020-02-12 10:24:08 +01:00
virtgpu_drv.h drm pull for 5.8-rc1 2020-06-02 15:04:15 -07:00
virtgpu_fence.c drm/virtio: move to_virtio_fence inside virtgpu_fence 2019-12-19 07:13:46 +01:00
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 drm/virtio: batch plane updates (pageflip) 2020-02-17 14:50:49 +01:00
virtgpu_prime.c
virtgpu_trace_points.c
virtgpu_trace.h
virtgpu_vq.c drm/virtio: make virtio_gpu_object_attach void 2020-04-03 12:01:37 +02:00