[PATCH v2] net: dsa: mt7530: disable the power rails on setup failure
王浩然
wanghr2026 at mail.zgclab.edu.cn
Mon Nov 23 03:24:40 PST 2026
- How it was discovered. Static scanning, not a runtime report. I
scanned for regulator_enable() calls and checked that each one has a
matching regulator_disable() on the error paths. mt7530_setup()
enables the core and io rails, but only mt7530_remove() disables them,
so a probe that fails after the enable has no matching disable.
- Whether it was triggered. It was not triggered, and I did not
reproduce it on hardware.
Thanks,
Haoran
> -----原始邮件-----
> 发件人: netdev-bot+sinfo at kernel.org
> 发送时间:2026-11-23 19:12:38 (星期一)
> 收件人: "Haoran Wang" <wanghr2026 at mail.zgclab.edu.cn>
> 抄送: chester.a.unal at arinc9.com, daniel at makrotopia.org, andrew at lunn.ch, olteanv at gmail.com, davem at davemloft.net, edumazet at kernel.org, kuba at kernel.org, pabeni at redhat.com, matthias.bgg at gmail.com, angelogioacchino.delregno at collabora.com, netdev at vger.kernel.org, linux-arm-kernel at lists.infradead.org, linux-mediatek at lists.infradead.org, linux-kernel at vger.kernel.org
> 主题: Re: [PATCH v2] net: dsa: mt7530: disable the power rails on setup failure
>
> 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.
>
> - Whether the issue was actually triggered, or is only theoretical
> (e.g. found by LLM and not proven at runtime). If it was triggered
> please include the symptoms, like the stack trace or kernel messages.
>
> 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.
More information about the linux-arm-kernel
mailing list