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

Vinod Koul
2021-12-13T05:54:27Z

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