Re: [PATCH v2 net-next] net: dsa: change PHY error message again

2020-09-07 Thread Jakub Kicinski
On Tue, 8 Sep 2020 02:06:56 +0300 Vladimir Oltean wrote: > slave_dev->name is only populated at this stage if it was specified > through a label in the device tree. However that is not mandatory. > When it isn't, the error message looks like this: > > [5.037057] fsl_enetc :00:00.2 eth2: e

Re: [PATCH v2 net-next] net: dsa: change PHY error message again

2020-09-07 Thread Florian Fainelli
On 9/7/2020 4:06 PM, Vladimir Oltean wrote: slave_dev->name is only populated at this stage if it was specified through a label in the device tree. However that is not mandatory. When it isn't, the error message looks like this: [5.037057] fsl_enetc :00:00.2 eth2: error -19 setting up

Re: [PATCH v2 net-next] net: dsa: change PHY error message again

2020-09-07 Thread Andrew Lunn
On Tue, Sep 08, 2020 at 02:06:56AM +0300, Vladimir Oltean wrote: > slave_dev->name is only populated at this stage if it was specified > through a label in the device tree. However that is not mandatory. > When it isn't, the error message looks like this: > > [5.037057] fsl_enetc :00:00.2

[PATCH v2 net-next] net: dsa: change PHY error message again

2020-09-07 Thread Vladimir Oltean
slave_dev->name is only populated at this stage if it was specified through a label in the device tree. However that is not mandatory. When it isn't, the error message looks like this: [5.037057] fsl_enetc :00:00.2 eth2: error -19 setting up slave PHY for eth%d [5.044672] fsl_enetc 00