Re: [PATCH v2] platform/chrome: cros_ec_typec: fix missing fwnode reference decrement

From: Tzung-Bi Shih
Date: Sun Oct 13 2024 - 23:38:15 EST


On Sun, Oct 13, 2024 at 03:20:24PM +0200, Javier Carrasco wrote:
> The device_for_each_child_node() macro requires explicit calls to
> fwnode_handle_put() upon early exits (return, break, goto) to decrement
> the fwnode's refcount, and avoid levaing a node reference behind.
>
> Add the missing fwnode_handle_put() after the common label for all error
> paths.
>
> [...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux.git for-next

[1/1] platform/chrome: cros_ec_typec: fix missing fwnode reference decrement
commit: 9c41f371457bd9a24874e3c7934d9745e87fbc58

Thanks!