Re: [PATCH net-next 1/2] rust: net: phy: make Device generic over a lock context
From: Andrew Lunn
Date: Wed Nov 11 2026 - 08:56:18 EST
On Wed, Nov 11, 2026 at 10:02:04PM +0900, 하승종 wrote:
> Sashiko's review of this patch was sent off-list [1], so I am replying
> here.
The netdev's own LLM reviews are better than Sashiko, so we tend to
ignore Sashiko. The netdev one also does Cc: netdev.
>
> > Can calling genphy_soft_reset() on a Device<MaybeLocked> cause a data race
> > on struct phy_device fields and bitfields when a Device<Locked> callback
> > runs concurrently?
>
> The race comes from the caller, not from this series.
You might find the netdev LLM reports this as an existing issue. Lets
wait and see.
Andrew