Re: [PATCH net-next] net: stmmac: use dev_info() before netdev is registered

From: David Miller
Date: Wed May 29 2019 - 16:30:50 EST


From: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
Date: Tue, 28 May 2019 07:02:07 +0000

> Before the netdev is registered, calling netdev_info() will emit
> something as "(unnamed net device) (uninitialized)", looks confusing.
>
> Before this patch:
> [ 3.155028] stmmaceth f7b60000.ethernet (unnamed net_device) (uninitialized): device MAC address 52:1a:55:18:9e:9d
>
> After this patch:
> [ 3.155028] stmmaceth f7b60000.ethernet: device MAC address 52:1a:55:18:9e:9d
>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>

Applied.