Re: [PATCH v2] dmaengine: pl08x: Use kcalloc() instead of kzalloc()

From: Vinod Koul
Date: Thu Apr 18 2024 - 01:14:02 EST



On Sat, 30 Mar 2024 16:23:23 +0100, Erick Archer wrote:
> This is an effort to get rid of all multiplications from allocation
> functions in order to prevent integer overflows [1].
>
> Here the multiplication is obviously safe because the "channels"
> member can only be 8 or 2. This value is set when the "vendor_data"
> structs are initialized.
>
> [...]

Applied, thanks!

[1/1] dmaengine: pl08x: Use kcalloc() instead of kzalloc()
commit: 98f2233a5c20ca567b2db1147278fd110681b9ed

Best regards,
--
~Vinod