Re: [PATCH v2 06/10] dmaengine: imx-sdma: make use of devm_kzalloc for script_addrs
From: Peng Fan <hidden>
Date: 2025-09-12 02:48:45
Also in:
dmaengine, imx, lkml
From: Peng Fan <hidden>
Date: 2025-09-12 02:48:45
Also in:
dmaengine, imx, lkml
On Thu, Sep 11, 2025 at 11:56:47PM +0200, Marco Felsch wrote:
Shuffle the allocation of script_addrs and make use of devm_kzalloc() to drop the local error handling as well as the kfree() during the remove. Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Marco Felsch <redacted>
Reviewed-by: Peng Fan <peng.fan@nxp.com>