Re: [PATCH net-next 1/5] net: dsa: return -ENODEV is there is no slave PHY

From: Florian Fainelli
Date: Tue Sep 26 2017 - 18:00:00 EST


On 09/26/2017 02:15 PM, Vivien Didelot wrote:
> Instead of returning -EOPNOTSUPP when a slave device has no PHY,
> directly return -ENODEV as ethtool and phylib do.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

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