回复: 回复: [RFC PATCH 3/4] regulator: rts490x: Add driver for on-die regulators
周寅
zain_zhou at realsil.com.cn
Tue Sep 22 02:16:07 PDT 2026
On Mon, Sep 21, 2026 at 04:07:02PM +0200, Krzysztof Kozlowski wrote:
> I missed the __free, but then why do you declare __free variable with
> NULL as constructor? Don't grow this pattern. See cleanup.h (or
> discussions on the lists).
Thanks for the clarification. I will initialize both __free variables
directly at declaration in the next revision. I also reviewed the rest
of the series for similar cleanup issues and found a couple of functions
that mix goto-based resource cleanup with guard(). I will fix those in
the next revision as well.
Best regards,
Zain
More information about the linux-i3c
mailing list