Re: [PATCH][next] dmaengine: stm32-mdma: Use struct_size() in kzalloc()

2020-10-28 Thread Vinod Koul
On 08-10-20, 09:18, Gustavo A. R. Silva wrote: > Make use of the new struct_size() helper instead of the offsetof() idiom. Applied, thanks -- ~Vinod

[PATCH][next] dmaengine: stm32-mdma: Use struct_size() in kzalloc()

2020-10-08 Thread Gustavo A. R. Silva
Make use of the new struct_size() helper instead of the offsetof() idiom. Signed-off-by: Gustavo A. R. Silva --- drivers/dma/stm32-mdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/stm32-mdma.c b/drivers/dma/stm32-mdma.c index 08cfbfab837b..29e5e30524bb 10064