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

Magnus Leatti magnusleatti at kernelriot.com
Tue Nov 24 05:06:10 PST 2026


On Tue, Nov 24, 2026 at 10:57:44AM +0000, netdev-bot+sashiko at kernel.org 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.

> [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



More information about the linux-arm-kernel mailing list