Re: [PATCH] net: thunderx: fix fwnode_handle leak in bgx_init_of_phy()

From: Selby Mashiki

Date: Sun Oct 25 2026 - 16:37:53 EST


Hi,

Here is the additional information requested by the bot:

- Discovery: Found via a static analysis script scanning for
device_for_each_child_node() / fwnode_for_each_child_node() loops that
exit early without releasing the child fwnode_handle reference,
followed by manual code inspection.
- Triggered vs. theoretical: Theoretical (found by static analysis and
code inspection, not triggered at runtime).
- Hardware testing: Compile-tested only (-Werror); not tested on real
Cavium ThunderX hardware as I do not have access to the device.

Best regards,
Selby Mashiki