Re: [PATCH net] fsl/fman: Drop device references when dpaa_eth_add_device() fails
From: Yige Jiang
Date: Thu Nov 26 2026 - 06:53:23 EST
Hi,
A static analysis warning about of_node_put() led me to look at
mac_probe(). The warning was a false positive. During an LLM-assisted
review of the surrounding error paths, I found that a failure in
dpaa_eth_add_device() bypasses the cleanup for the FMan device and
both port devices.
I compile-tested the fix on arm64 but did not reproduce the leak at
runtime.
Thanks,
Yige
> On Nov 26, 2026, at 5:42 PM, netdev-bot+sinfo@xxxxxxxxxx wrote:
>
> Hi!
>
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
>
> - How the issue was discovered, e.g. hit in production, hit during
> development, syzbot report, manual code inspection, LLM or static
> analysis tool scan.
>
> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account.
>
> *IMPORTANT*: If you do repost (for other reasons) - please include
> the relevant info in the cover letter or commit messages.
> --
> The evaluation is done by an LLM so it may be wrong, if you think
> that is the case please reply and explain.