Veaceslav Falico ccc7f4968a net: print net_device reg_state in netdev_* unless it's registered
This way we'll always know in what status the device is, unless it's
running normally (i.e. NETDEV_REGISTERED).

Also, emit a warning once in case of a bad reg_state.

CC: "David S. Miller" <davem@davemloft.net>
CC: Jason Baron <jbaron@akamai.com>
CC: Eric Dumazet <edumazet@google.com>
CC: Vlad Yasevich <vyasevic@redhat.com>
CC: stephen hemminger <stephen@networkplumber.org>
CC: Jerry Chu <hkchu@google.com>
CC: Ben Hutchings <bhutchings@solarflare.com>
CC: Joe Perches <joe@perches.com>
Signed-off-by: Veaceslav Falico <vfalico@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-20 20:38:43 -07:00
..
2014-06-23 14:12:01 -04:00
2013-09-10 13:03:41 -07:00
2011-03-11 14:25:50 +00:00
2008-06-06 11:29:10 -07:00
2014-06-04 16:54:19 -07:00
2011-10-29 21:20:22 +02:00
2006-06-25 10:01:20 -07:00
2006-06-25 10:01:20 -07:00
2007-05-10 18:24:13 +02:00
2011-03-31 11:26:23 -03:00
2014-05-24 07:28:01 +09:00
2014-04-30 19:49:37 +01:00
2012-10-06 03:04:57 +09:00
2014-05-05 09:09:14 +02:00
2014-05-05 09:09:14 +02:00
2014-05-05 09:09:14 +02:00
2013-06-18 13:48:45 +02:00
2012-07-30 17:25:16 -07:00
2014-06-25 17:45:43 -07:00
2012-01-31 23:19:47 +02:00
2013-04-29 18:28:42 -07:00