回复: [RFC PATCH 3/4] regulator: rts490x: Add driver for on-die regulators

周寅 zain_zhou at realsil.com.cn
Sun Sep 20 20:46:33 PDT 2026


On Sun, Sep 20, 2026, Krzysztof Kozlowski wrote:
> You leak OF nodes.

Thanks for the review.

Both regulators and node are declared with __free(device_node), so the
references returned by of_get_available_child_by_name() should be
dropped on scope exit, including the continue and error paths.

Could you clarify which reference is leaking?

Best regards,
Zain


More information about the linux-i3c mailing list