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

Florian Fainelli f.fainelli at gmail.com
Wed Aug 14 05:54:36 AEST 2019


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 at gmail.com>
-- 
Florian


More information about the openbmc mailing list