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

Andrew Lunn andrew at lunn.ch
Wed Aug 7 07:11:56 AEST 2019


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 at lunn.ch>
> CC: Heiner Kallweit <hkallweit1 at gmail.com>
> CC: Vladimir Oltean <olteanv at gmail.com>
> Signed-off-by: Tao Ren <taoren at fb.com>

Reviewed-by: Andrew Lunn <andrew at lunn.ch>

    Andrew


More information about the openbmc mailing list