Re: [PATCH net-next v2 1/2] net: stmmac: dwmac-motorcomm: remove the device at shutdown

From: Yao Zi

Date: Wed Nov 25 2026 - 11:37:59 EST


On Tue, Nov 24, 2026 at 10:06:10AM -0300, Magnus Leatti wrote:
> On Tue, Nov 24, 2026 at 10:57:44AM +0000, netdev-bot+sashiko@xxxxxxxxxx wrote:
> > [Severity: Low]
> > Should this carry a Fixes: tag?
>
> No. I never saw anything break without the hook, so it's not a fix.
> net-next, no tag.

However, I do think this deserves a fixes tag, for the reason I stated
in replies to v1 of the series[2].

> > [Severity: Medium]
> > With this change, can stmmac_dvr_remove() run twice on the same
> > binding?
>
> Only if something unbinds or unplugs the NIC *after* .shutdown ran, in
> the middle of a power-off. funeth, otx2, nfp VF and ps3_gelic wire
> .shutdown to their remove the same way, and it's the design that came
> out of the v1 review [1]. Keeping it.
>
> [1] https://lore.kernel.org/netdev/avsebFtnIASV-KpV@pie/
>
> Magnus

--
Thanks,
Yao Zi

Meow-mrrp-mrow, I'm a cat.

[2]: https://lore.kernel.org/netdev/avsTEglKKD_wl_Fi@pie/