net/macb: use dev_*() when netdev is not yet registered
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Jul 2015 18:24:01 +0000 (21:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jul 2015 08:10:29 +0000 (01:10 -0700)
commita35919e174350d3e236ea5f179177396e87b6894
tree6bc45ed3070d9b0921b6c9fe3c20ffe87033fac5
parentf36dbe6a285e0628e67b7bd9d3b08599184d7d2c
net/macb: use dev_*() when netdev is not yet registered

To avoid messages like

macb macb.0 (unnamed net_device) (uninitialized): Cadence caps 0x00000000
macb macb.0 (unnamed net_device) (uninitialized): invalid hw address, using random

let's use dev_*() macros.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb.c
This page took 0.030563 seconds and 5 git commands to generate.