Gerd Hoffmann
2020-Aug-17 10:41 UTC
[PATCH][next] drm/virtio: Use struct_size() helper in kmalloc()
On Wed, Jun 17, 2020 at 04:57:07PM -0500, Gustavo A. R. Silva wrote:> 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 at kernel.org>Queued up for drm-misc-next. thanks, Gerd
Possibly Parallel Threads
- [PATCH] drm/nouveau/mmu: use struct_size() helper
- [PATCH] drm/nouveau/nvif/mmu: Use struct_size() helper
- [PATCH] scsi: virtio_scsi: Use struct_size() helper
- [PATCH] scsi: virtio_scsi: Use struct_size() helper
- [PATCH][next] nouveau/gsp: replace zero-length array with flex-array member and use __counted_by