WSL2-Linux-Kernel/drivers/staging/mt7621-dma
Benjamin Sherman 4c1d2fc7d5 staging: mt7621-dma: sizeof via pointer dereference
Pass the size of a struct into kzalloc by pointer dereference.  This
complies with the Linux kernel coding style and removes the possibility
for a bug if the pointer's type is changed.

Signed-off-by: Benjamin Sherman <benjamin@bensherman.io>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-30 17:22:47 -07:00
..
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile staging: add missing SPDX lines to Makefile files 2019-04-03 11:10:15 +02:00
TODO staging: mt7621-dma: ralink: add rt2880 dma engine 2018-03-19 19:56:02 +01:00
mtk-hsdma.c staging: mt7621-dma: sizeof via pointer dereference 2019-05-30 17:22:47 -07:00