Re: Re: [PATCH v2] net: dsa: mt7530: disable the power rails on setup failure
From: 王浩然
Date: Mon Nov 23 2026 - 06:25:19 EST
- 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@xxxxxxxxxx
> 发送时间:2026-11-23 19:12:38 (星期一)
> 收件人: "Haoran Wang" <wanghr2026@xxxxxxxxxxxxxxxxxx>
> 抄送: chester.a.unal@xxxxxxxxxx, daniel@xxxxxxxxxxxxxx, andrew@xxxxxxx, olteanv@xxxxxxxxx, davem@xxxxxxxxxxxxx, edumazet@xxxxxxxxxx, kuba@xxxxxxxxxx, pabeni@xxxxxxxxxx, matthias.bgg@xxxxxxxxx, angelogioacchino.delregno@xxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-mediatek@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
> 主题: 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.