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

Markus Elfring Markus.Elfring at web.de
Fri Jul 14 06:06:08 PDT 2023


> 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.

Are imperative change descriptions still preferred?

See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.5-rc1#n94


Regards,
Markus



More information about the linux-arm-kernel mailing list