[PATCH net v2] net:thunder:Fix resource leaks in device_for_each_child_node() loops

Jakub Kicinski kuba at kernel.org
Thu Jul 6 08:48:00 PDT 2023


On Thu,  6 Jul 2023 20:30:11 +0800 Wang Ming wrote:
> The device_for_each_child_node() loop in
> bgx_init_of_phy() function should have
> fwnode_handle_put() before break
> which could avoid resource leaks.
> This patch could fix this bug.

Don't ignore previous feedback
-- 
pw-bot: cr



More information about the linux-arm-kernel mailing list