Re: [PATCH] net: lan966x: fix double fwnode_handle_put() and missing mdb deinit in probe error path

From: Selby Mashiki

Date: Sun Oct 25 2026 - 16:38:18 EST


Hi,

Here is the additional information for this patch as well:

- Discovery: Found via a static analysis script scanning for
fwnode_handle reference count imbalances across error paths, followed
by manual code inspection of lan966x_probe().
- 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
Microchip LAN966x hardware as I do not have access to the device.

Best regards,
Selby Mashiki