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

From: Florian Fainelli
Date: Tue Aug 13 2019 - 15:54:47 EST


On 8/5/19 11:55 AM, 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.

As Andrew pointed out already, this probably needs to be reworked, but
for now this looks reasonable:

Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian