Re: [PATCH] dmaengine: dw-edma: Fix confusing cleanup.h syntax

From: Vinod Koul
Date: Tue Dec 16 2025 - 12:07:11 EST



On Mon, 08 Dec 2025 03:07:30 +0100, Krzysztof Kozlowski wrote:
> Initializing automatic __free variables to NULL without need (e.g.
> branches with different allocations), followed by actual allocation is
> in contrary to explicit coding rules guiding cleanup.h:
>
> "Given that the "__free(...) = NULL" pattern for variables defined at
> the top of the function poses this potential interdependency problem the
> recommendation is to always define and assign variables in one statement
> and not group variable definitions at the top of the function when
> __free() is used."
>
> [...]

Applied, thanks!

[1/1] dmaengine: dw-edma: Fix confusing cleanup.h syntax
commit: f9ef8dedee34e2d7828d5a6a0643cd969aaa8437

Best regards,
--
~Vinod