Re: [PATCH net-next v2 1/2] net: stmmac: dwmac-motorcomm: remove the device at shutdown
From: Magnus Leatti
Date: Tue Nov 24 2026 - 08:06:53 EST
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.
> [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