Re: [PATCH][next] dmaengine: at_xdmac: Use struct_size() in devm_kzalloc()

From: Vinod Koul
Date: Mon Dec 13 2021 - 00:54:27 EST


On 07-12-21, 18:10, 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 or integer overflows that, in
> the worst scenario, could lead to heap overflows.

Applied, thanks

--
~Vinod