Re: [PATCH net-next] net: phy: modify assignment to OR for dev_flags in phy_attach_direct

From: Andrew Lunn
Date: Tue Aug 06 2019 - 17:12:04 EST


On Mon, Aug 05, 2019 at 11:55:51AM -0700, Tao Ren wrote:
> Modify the assignment to OR when dealing with phydev->dev_flags in
> phy_attach_direct function, and this is to make sure dev_flags set in
> driver's probe callback won't be lost.
>
> Suggested-by: Andrew Lunn <andrew@xxxxxxx>
> CC: Heiner Kallweit <hkallweit1@xxxxxxxxx>
> CC: Vladimir Oltean <olteanv@xxxxxxxxx>
> Signed-off-by: Tao Ren <taoren@xxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew