Re: [PATCH v2 net,stable 1/2] net: fec: restore dev_id in the cases of probe error

2018-01-03 Thread Troy Kisky
On 1/2/2018 6:39 PM, Fugang Duan wrote: > The static variable dev_id always plus one before netdev registerred. > It should restore the dev_id value in the cases of probe error. > > Signed-off-by: Fugang Duan > --- > drivers/net/ethernet/freescale/fec_main.c | 1 + > 1 file

[PATCH v2 net,stable 1/2] net: fec: restore dev_id in the cases of probe error

2018-01-02 Thread Fugang Duan
The static variable dev_id always plus one before netdev registerred. It should restore the dev_id value in the cases of probe error. Signed-off-by: Fugang Duan --- drivers/net/ethernet/freescale/fec_main.c | 1 + 1 file changed, 1 insertion(+) diff --git