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

From: Andrew Lunn
Date: Tue Sep 26 2017 - 17:49:21 EST


On Tue, Sep 26, 2017 at 05:15:31PM -0400, 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: Andrew Lunn <andrew@xxxxxxx>

Andrew